Blame view

src/idl/dustem_restore_system_variables.pro 2.78 KB
013ae402   Jean-Philippe Bernard   added a /verbose ...
1
PRO dustem_restore_system_variables,file,help=help,verbose=verbose
b5ccb706   Jean-Philippe Bernard   improved to fit p...
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

;+
; 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

013ae402   Jean-Philippe Bernard   added a /verbose ...
49
restore,file,verbose=verbose
b5ccb706   Jean-Philippe Bernard   improved to fit p...
50
51
52
53
54
55
56
57

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
4750086c   Ilyes Choubani   nouvelle philosph...
58
59
60
61
62
;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
b5ccb706   Jean-Philippe Bernard   improved to fit p...
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
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
389a2b1d   Jean-Philippe Bernard   improved
84
defsysv,'!DUSTEM_REDSHIFT',saved_DUSTEM_REDSHIFT
4750086c   Ilyes Choubani   nouvelle philosph...
85
86
87
;defsysv,'!DUSTEM_ISRF_STAR_ADD',saved_DUSTEM_ISRF_STAR_ADD
defsysv, '!DUSTEM_SCOPE',saved_DUSTEM_SCOPE
defsysv, '!DUSTEM_PLUGIN',saved_DUSTEM_PLUGIN
b5ccb706   Jean-Philippe Bernard   improved to fit p...
88
89
90
91

the_end:

END