dustem_restore_system_variables.pro
2.78 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
PRO dustem_restore_system_variables,file,help=help,verbose=verbose
;+
; NAME:
; dustem_restore_system_variables
; PURPOSE:
; Restores Dustem system variables a file
; CATEGORY:
; Dustem
; CALLING SEQUENCE:
; dustem_restore_system_variables,file[,/help]
; INPUTS:
; file = File name
; OPTIONAL INPUT PARAMETERS:
; None
; OUTPUTS:
; None
; OPTIONAL OUTPUT PARAMETERS:
; None
; ACCEPTED KEY-WORDS:
; help = If set, print this help
; COMMON BLOCKS:
; None
; SIDE EFFECTS:
; File is restored.
; The following system variables are resstored:
; !dustem_fit
; !dustem_data
; !dustem_filters
; !run_ionfrac
; !dustem_verbose
; RESTRICTIONS:
; The dustem idl wrapper must be installed
; PROCEDURE:
; None
; EXAMPLES
;
; MODIFICATION HISTORY:
; Written by J.-Ph. Bernard
; see evolution details on the dustem cvs maintained at CESR
; Contact J.-Ph. Bernard (Jean-Philippe.Bernard@cesr.fr) in case of problems.
;-
IF keyword_set(help) THEN BEGIN
doc_library,'dustem_restore_system_variables'
goto,the_end
ENDIF
restore,file,verbose=verbose
defsysv,'!dustem_dat',saved_dustem_dat
defsysv,'!dustem_data',saved_dustem_data
defsysv,'!DUSTEM_DO_CC',saved_DUSTEM_DO_CC
defsysv,'!DUSTEM_F90_EXEC',saved_DUSTEM_F90_EXEC
defsysv,'!dustem_filters',saved_dustem_filters
defsysv,'!dustem_fit',saved_dustem_fit
defsysv,'!DUSTEM_F_HI',saved_DUSTEM_F_HI
;defsysv,'!DUSTEM_IDL_CONTINUUM',saved_DUSTEM_IDL_CONTINUUM
;defsysv,'!DUSTEM_IDL_FREEFREE',saved_DUSTEM_IDL_FREEFREE
;defsysv,'!DUSTEM_IDL_SYNCHROTRON',saved_DUSTEM_IDL_SYNCHROTRON
;defsysv, '!DUSTEM_COMPOSITE_STELLAR_POPULATION',saved_DUSTEM_COMPOSITE_STELLAR_POPULATION
defsysv,'!DUSTEM_INPUTS',saved_DUSTEM_INPUTS
defsysv,'!DUSTEM_INSTRUMENT_DESCRIPTION',saved_DUSTEM_INSTRUMENT_DESCRIPTION
defsysv,'!DUSTEM_NEVER_DO_CC',saved_DUSTEM_NEVER_DO_CC
defsysv,'!DUSTEM_PARAMS',saved_DUSTEM_PARAMS
defsysv,'!DUSTEM_PARINFO',saved_DUSTEM_PARINFO
defsysv,'!DUSTEM_PREVIOUS_CC',saved_DUSTEM_PREVIOUS_CC
defsysv,'!DUSTEM_RES',saved_DUSTEM_RES
defsysv,'!DUSTEM_SHOW_PLOT',saved_DUSTEM_SHOW_PLOT
defsysv,'!DUSTEM_SOFT_DIR',saved_DUSTEM_SOFT_DIR
defsysv,'!DUSTEM_VERBOSE',saved_DUSTEM_VERBOSE
defsysv,'!DUSTEM_WHICH',saved_DUSTEM_WHICH
defsysv,'!DUSTEM_WRAP_SOFT_DIR',saved_DUSTEM_WRAP_SOFT_DIR
defsysv,'!FIT_RCHI2_WEIGHT',saved_FIT_RCHI2_WEIGHT
defsysv,'!RUN_ANIS',saved_RUN_ANIS
defsysv,'!RUN_CIRC',saved_RUN_CIRC
defsysv,'!RUN_IONFRAC',saved_RUN_IONFRAC
defsysv,'!RUN_LIN',saved_RUN_LIN
defsysv,'!RUN_POL',saved_RUN_POL
defsysv,'!RUN_RRF',saved_RUN_RRF
defsysv,'!RUN_TLS',saved_RUN_TLS
defsysv,'!RUN_UNIV',saved_RUN_UNIV
defsysv,'!DUSTEM_REDSHIFT',saved_DUSTEM_REDSHIFT
;defsysv,'!DUSTEM_ISRF_STAR_ADD',saved_DUSTEM_ISRF_STAR_ADD
defsysv, '!DUSTEM_SCOPE',saved_DUSTEM_SCOPE
defsysv, '!DUSTEM_PLUGIN',saved_DUSTEM_PLUGIN
the_end:
END