-
Notifications
You must be signed in to change notification settings - Fork 1
/
pipe_batch_example.pro
73 lines (60 loc) · 2.07 KB
/
pipe_batch_example.pro
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
pro pipe_batch, spec=spec, cube=cube, win=win, all=all
if keyword_set(win) or keyword_set(all) then begin
; make_flat_windows $
; , out_root = '../masks/windows/ngc4303_flat' $
; , gname = 'ngc4303' $
; , window = 300.
; make_flat_windows $
; , gname = 'ngc4303' $
; , out_root = '../masks/windows/ngc4303_loweredge' $
; , /hel_to_lsr $
; , /ms_to_kms $
; , window = 1000. $
; , offset = -900.
; make_flat_windows $
; , gname = 'ngc4303' $
; , out_root = '../masks/windows/ngc4303_upperedge' $
; , /hel_to_lsr $
; , /ms_to_kms $
; , window = 1000. $
; , offset = +900.
; mask_to_windows $
; , '../masks/windows/ngc4303_mask.fits' $
; , out_root = '../masks/windows/ngc4303_line' $
; , /ms_to_kms
endif
if keyword_set(spec) or keyword_set(all) then begin
spectra_pipeline $
, identifier = '_beta' $
, orig_data_file = 'orig_data.txt' $
; , bad_data_file = 'bad_data.txt' $
; , ref_mask_file = '../masks/reference/ngc4303_on_mask.fits' $
; , window_root = $
; ['../masks/windows/ngc4303_loweredge' $
; , '../masks/windows/ngc4303_line' $
; , '../masks/windows/ngc4303_upperedge'] $
, degree = 3 $
, /show $
, /report $
, smooth=[1,10]
endif
if keyword_set(cube) or keyword_set(all) then begin
cube_pipeline $
, out_root = 'ngc4303' $
, identifier = '_beta' $
, orig_data_file = 'orig_data.txt' $
, blank_window_root = $
['../masks/windows/ngc4303_loweredge' $
, '../masks/windows/ngc4303_upperedge'] $
, mask_window_root = $
['../masks/windows/ngc4303_line'] $
, degree = 3 $
, cal=0 $
, prev_cube = '../cubes/_beta/ngc4303_beta.fits' $
, prev_mask_2d = $
'../cubes/_beta/ngc4303_beta_bright_map.fits' $
, prev_mask_3d = '../cubes/_beta/ngc4303_beta_mask.fits' $
, /show $
, /report
endif
end