Commit bfd73a3c08b13de5fd6b2b99bb601913a8764f66
1 parent
b71e81d2
Exists in
master
modified doc-help text
Showing
1 changed file
with
25 additions
and
17 deletions
Show diff stats
src/idl/dustem_show_fortran.pro
1 | -PRO dustem_show_fortran, model=model, data_dir=data_dir,dustem_dir=dustem_dir,nh=nh, fsed=fsed, sw=sw, inst=inst, smdat=smdat, com=com, wref=wref, bbpar=bbpar, wext=wext, $ | |
2 | - xr=xr, yr=yr, tit=tit, CMB=cmb, COSMO=COSMO, DATA=data, SHOW=show, wn=wn, HARD=hard | |
1 | +PRO dustem_show_fortran, model=model $ | |
2 | + , data_dir=data_dir $ | |
3 | + , dustem_dir=dustem_dir $ | |
4 | + , nh=nh, fsed=fsed, sw=sw $ | |
5 | + , inst=inst, smdat=smdat, com=com $ | |
6 | + , wref=wref, bbpar=bbpar, wext=wext $ | |
7 | + , xr=xr, yr=yr, tit=tit $ | |
8 | + , CMB=cmb, COSMO=COSMO, DATA=data, SHOW=show $ | |
9 | + , wn=wn, HARD=hard | |
3 | 10 | |
4 | 11 | ;+ |
5 | 12 | ; NAME: |
6 | 13 | ; dustem_show_fortran |
7 | 14 | ; PURPOSE: |
8 | -; shows differents results of the DUSTEM fortran calculations, | |
9 | -; overlaid on fiducial diffuse ISM dust observables | |
15 | +; shows various outputs of the DUSTEM fortran calculations, | |
16 | +; overlaid on an example observation of diffuse ISM dust | |
10 | 17 | ; CATEGORY: |
11 | 18 | ; DustEM, Distributed, User-Example |
12 | 19 | ; CALLING SEQUENCE: |
13 | -; dustem_show_results | |
20 | +; dustem_show_fortran | |
14 | 21 | ; INPUTS: |
15 | -; DATA_DIR : path to directory containing fiducial observational | |
16 | -; SED files. Defaults to Data/EXAMPLE_OBSDATA/ subdirectory. | |
22 | +; DATA_DIR : path to directory containing observational | |
23 | +; SED files. Defaults to Data/EXAMPLE_OBSDATA/ subdirectory. | |
17 | 24 | ; DUSTEM_DIR : path to directory containing DustEM data files. Default |
18 | 25 | ; is the !dustem_dat directory (which is defined in |
19 | 26 | ; a user's idl_startup file) |
... | ... | @@ -77,26 +84,27 @@ PRO dustem_show_fortran, model=model, data_dir=data_dir,dustem_dir=dustem_dir,nh |
77 | 84 | ; EXAMPLES |
78 | 85 | ;; print,' Examples:' |
79 | 86 | ;; print,' path=''/Users/lverstra/DUSTEM_LOCAL/dustem4.0/''' |
80 | - ;; print,' to show SED only: show_dustem,path' | |
81 | - ;; print,' SED+UV-extinction: show_dustem,path,show=''extuv'' ' | |
82 | - ;; print,' SED+IR extinction+size dist.: show_dustem,path,show=[''extir'',''sdist''] ' | |
83 | - ;; print,' ps files with default names: show_dustem,path,show=[''extir'',''alb''],/hard ' | |
84 | - ;; print,' ps files with given names: show_dustem,path,show=[''extir'',''sdist''],hard=[''f1.ps'',''f2.ps''] ' | |
85 | - ;; print,' no plot : show_dustem,path,show=0' | |
86 | - ;; print,' to get band fluxes in structure SM: show_dustem,path,smdat=sm' | |
87 | + ;; print,' to show SED only: dustem_show_fortran,path' | |
88 | + ;; print,' SED+UV-extinction: dustem_show_fortran,path,show=''extuv'' ' | |
89 | + ;; print,' SED+IR extinction+size dist.: dustem_show_fortran,path,show=[''extir'',''sdist''] ' | |
90 | + ;; print,' ps files with default names: dustem_show_fortran,path,show=[''extir'',''alb''],/hard ' | |
91 | + ;; print,' ps files with given names: dustem_show_fortran,path,show=[''extir'',''sdist''],hard=[''f1.ps'',''f2.ps''] ' | |
92 | + ;; print,' no plot : dustem_show_fortran,path,show=0' | |
93 | + ;; print,' to get band fluxes in structure SM: dustem_show_fortran,path,smdat=sm' | |
87 | 94 | ;; print,' see structure SM (overall): help,/str,sm' |
88 | 95 | ;; print,' see structure SM model field: help,/str,sm.m_emis' |
89 | 96 | ;; print,' see structure SM inst field: help,/str,sm.i_dirbe' |
90 | 97 | ;; print,' see structure SM inst flux field: help,/str,sm.i_dirbe.flx' |
91 | 98 | ;; print,' array(i,j+1) i:index of inst band, j:index of grain type (ntype+1 is total SED) ' |
92 | - ;; print,' to select or add instrument field(s): show_dustem,path,smdat=sm,inst=[''spire''] (on existing SM to add instrumentx) ' | |
99 | + ;; print,' to select or add instrument field(s): dustem_show_fortran,path,smdat=sm,inst=[''spire''] (on existing SM to add instrumentx) ' | |
93 | 100 | ; MODIFICATION HISTORY: |
101 | +; Inherited from DustEM fortran repo, July 2022. | |
94 | 102 | ; Written by L Verstraete and M Compiegne, Spring 2010 |
95 | 103 | ; Modified by LV : change to cgs, add band fluxes in SMDAT, 2011 |
96 | 104 | ; Modified by LV & V Guillet : add polarization part, 2017 |
97 | 105 | ; Further evolution details on the DustEMWrap gitlab. |
98 | 106 | ; See http://dustemwrap.irap.omp.eu/ for FAQ and help. |
99 | - | |
107 | +; | |
100 | 108 | |
101 | 109 | if keyword_set(help) then begin |
102 | 110 | doc_library,'dustem_show_fortran' |
... | ... | @@ -186,7 +194,7 @@ if keyword_set(data_dir) then data_path = data_dir |
186 | 194 | ; |
187 | 195 | ; get the SED data |
188 | 196 | ; |
189 | -; New FarIR-mm SED from FBoulanger | |
197 | +; FarIR-mm SED from FBoulanger | |
190 | 198 | RESTORE, data_path+'/EXAMPLE_OBSDATA/filters_ref_wave.xdr' |
191 | 199 | fact_em = 0.77 ; to account for 20% of H to be in ionized form + 3% H2 |
192 | 200 | to_sed_20 = 1d-17 * (1d20/1.82d18) ; MJy/sr->erg/s/cm2/sr and normalization to NH = 10^20 H/cm2 | ... | ... |