Blame view

Docs/examples/dustem_run_example.txt 676 Bytes
427f1205   Jean-Michel Glorian   version 4.2 merged
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
;== Initialize DustemWrap
dustem_init,mode='COMPIEGNE_ETAL2010'

;== set DustemWrap behavior
!dustem_verbose=1
!dustem_show_plot=1

;== The following structure contains the inputs to the model
st_model=dustem_read_all(!dustem_soft_dir)

;== The following line writes inputs to the Fortran
dustem_write_all,st_model,!dustem_res
;== This runs the Fortran. The ouput structure contains the results
st=dustem_run()

;== The following just plots the resulting emission SED
loadct,13
window,0
dustem_plot_nuinu_em,st,yr=[1e-11,6.e-7],/ysty,xr=[1,5e3],/xsty
;== The following just plots the resulting extinction
window,1
aa2d75d1   Jean-Michel Glorian   bon fichier duste...
22
dustem_plot_ext,st,yr=[1.e-26,1.e-21],/ysty,xr=[1.,400],/xsty