-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.pro
More file actions
51 lines (36 loc) · 1.18 KB
/
Copy pathmain.pro
File metadata and controls
51 lines (36 loc) · 1.18 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
; ****************************************************************************************************** ;
pro main
; ****************************************************************************************************** ;
; Perform setup operations
; Set to directory containing repository
home_dir = '~/Summer2014/Silicate_Feature_Analysis'
CD, home_dir
; Expand IDL path
!PATH=!PATH+':'+Expand_Path('+'+home_dir)
; Functional directories
COMMON file_path, in_dir, out_dir, fit_name, object_name
; Set to directory containing data
; Default set to savfiles
in_dir = 'savfiles'
; Set directory location for output.
; Location should be relative to your home directory
; Default set to output
out_dir = 'output'
; *************************************************** ;
;RUN
; *************************************************** ;
; Set name of object(s) to be run
names = ['BetaPic']
; Set fits to run.
; Default is all
fit_names = ['single','multi','disk']
FOREACH name, names DO BEGIN
FOREACH fit_name, fit_names DO BEGIN
object_name = name
print, object_name
fits, name=name, fittype=fit_name
plot_result
null = display_results(name)
ENDFOREACH
ENDFOREACH
end