forked from igrins/plp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathigr_pipe.py
More file actions
37 lines (31 loc) · 1.02 KB
/
igr_pipe.py
File metadata and controls
37 lines (31 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
try:
import argh
except ImportError:
import sys
sys.path.append("./external/argh")
import argh
import recipes.recipe_flat
import recipes.recipe_thar
import recipes.recipe_wvlsol_sky
#from recipes.recipe_distort_sky import distortion_sky
from recipes.recipe_extract import (a0v_ab, stellar_ab,
extended_ab, extended_onoff)
from recipes.recipe_extract_plot import plot_spec
from recipes.recipe_publish_html import publish_html
from recipes.recipe_prepare_recipe_logs import prepare_recipe_logs
recipe_list = [recipes.recipe_flat.flat,
recipes.recipe_thar.thar,
recipes.recipe_wvlsol_sky.sky_wvlsol,
#distortion_sky,
a0v_ab,
stellar_ab,
extended_ab,
extended_onoff,
plot_spec,
publish_html,
prepare_recipe_logs
]
parser = argh.ArghParser()
parser.add_commands(recipe_list)
if __name__ == '__main__':
argh.dispatch(parser)