Skip to content

Commit c4ab488

Browse files
committed
Utilities: minor edits to prof3d.py
1 parent e6d7b16 commit c4ab488

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

Utilities/Python/scripts/prof3d.py

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
Use option --save_animation to save the animation (no slider) to a movie file
1212
1313
Example:
14-
$ python prof3d.py --with_slider
14+
$ python prof3d.py --with-slider
1515
"""
1616

1717
import sys
@@ -24,8 +24,8 @@
2424
import argparse
2525

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

3030
args = parser.parse_args()
3131

@@ -41,12 +41,11 @@
4141

4242
tmpa = 20.
4343
scalar_min = 20.
44-
scalar_max = 60.
44+
scalar_max = 360.
4545

46-
filenames = ['pine_21O2_40_1C_cat_prof_1.csv',
47-
'pine_21O2_40_1C_cat_prof_5.csv',
48-
'pine_21O2_40_1C_cat_prof_9.csv',
49-
'pine_21O2_40_1C_cat_prof_13.csv']
46+
filenames = ['./my_prof_1.csv',
47+
'./my_prof_2.csv',
48+
'./my_prof_3.csv]
5049

5150
# create lists to store information about each profile
5251
IOR = []

0 commit comments

Comments
 (0)