Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions Utilities/Python/scripts/prof3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
Use option --save_animation to save the animation (no slider) to a movie file
Example:
$ python prof3d.py --with_slider
$ python prof3d.py --with-slider
"""

import sys
Expand All @@ -24,8 +24,8 @@
import argparse

parser = argparse.ArgumentParser()
parser.add_argument('--with_slider', action='store_true', help='Control animation with a time slider')
parser.add_argument('--save_animation', action='store_true', help='Save animation')
parser.add_argument('--with-slider', action='store_true', help='Control animation with a time slider')
parser.add_argument('--save-animation', action='store_true', help='Save animation')

args = parser.parse_args()

Expand All @@ -41,12 +41,11 @@

tmpa = 20.
scalar_min = 20.
scalar_max = 60.
scalar_max = 360.

filenames = ['pine_21O2_40_1C_cat_prof_1.csv',
'pine_21O2_40_1C_cat_prof_5.csv',
'pine_21O2_40_1C_cat_prof_9.csv',
'pine_21O2_40_1C_cat_prof_13.csv']
filenames = ['./my_prof_1.csv',
'./my_prof_2.csv',
'./my_prof_3.csv]

# create lists to store information about each profile
IOR = []
Expand Down