Blame view

src/idl/dustem_write_all_web3p8.pro 1.54 KB
427f1205   Jean-Michel Glorian   version 4.2 merged
1
2
PRO dustem_write_all_web3p8,st,dir_out

d06cb418   Ilyes Choubani   Added PILOT filter
3
4
5
dir_out_dat=dir_out+'/data/'
dir_out_qabs=dir_out+'/oprop/'
dir_out_capa=dir_out+'/hcap/'
427f1205   Jean-Michel Glorian   version 4.2 merged
6
7
8
9
10
11
12
13
14
15
16

;== ISRF
file_out=dir_out_dat+'ISRF.DAT'
dustem_write_isrf_lv,file_out,st.isrf

;== LAMBDA
file_out=dir_out_qabs+'LAMBDA.DAT'
dustem_write_lambda,file_out,st.lambda

;== GRAIN
file_out=dir_out_dat+'GRAIN.DAT'
452c334e   Ilyes Choubani   Implementation Of...
17

6730c3f8   Jean-Philippe Bernard   modified to be co...
18
dustem_write_grain_web3p8,file_out,st.grains
427f1205   Jean-Michel Glorian   version 4.2 merged
19

68d2f391   Jean-Philippe Bernard   modified to cope ...
20
21
;== GAS
file_out=dir_out_dat+'GAS.DAT'
f882e687   Ilyes Choubani   improved
22

452c334e   Ilyes Choubani   Implementation Of...
23
dustem_write_gas,file_out,st.GAS
68d2f391   Jean-Philippe Bernard   modified to cope ...
24

9ccf7615   Jean-Philippe Bernard   modified to fit u...
25
;stop
68d2f391   Jean-Philippe Bernard   modified to cope ...
26
27
28
29

;== SPIN
dustem_write_spin,dir_out_dat,st.spin

9818c4c0   Jean-Philippe Bernard   cant remember wha...
30
;stop
68d2f391   Jean-Philippe Bernard   modified to cope ...
31
32
33
;== CHRG
dustem_write_chrg,dir_out_dat,st.chrg

427f1205   Jean-Michel Glorian   version 4.2 merged
34
;== MIX
68d2f391   Jean-Philippe Bernard   modified to cope ...
35
dustem_write_mix,dir_out_dat,st.mix
427f1205   Jean-Michel Glorian   version 4.2 merged
36
37

;== SIZE
68d2f391   Jean-Philippe Bernard   modified to cope ...
38
dustem_write_size_lv,dir_out_dat,st.size
427f1205   Jean-Michel Glorian   version 4.2 merged
39
40

;== QABS
68d2f391   Jean-Philippe Bernard   modified to cope ...
41
dustem_write_qabs_lv,dir_out_qabs,st.qabs
427f1205   Jean-Michel Glorian   version 4.2 merged
42
43

;== CALOR
68d2f391   Jean-Philippe Bernard   modified to cope ...
44
dustem_write_calor_lv,dir_out_capa,st.calor
427f1205   Jean-Michel Glorian   version 4.2 merged
45

427f1205   Jean-Michel Glorian   version 4.2 merged
46
;== POL
b5ccb706   Jean-Philippe Bernard   improved to fit p...
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
;dustem_write_pol,dir_out_dat,st.pol
;FOR i_axis = 1, 3 DO dustem_write_qabspol,dir_out_qabs,st,i_axis

;== POL
if !run_pol then begin
    ;stop
	file_out=dir_out_dat+'ALIGN.DAT'
    ;stop
	; Pol file
	dustem_write_align,file_out,st.align

	; Linear polarization
	file_out=dir_out_qabs
	IF not stregex(st.align.keywords, 'rrf', /bool) THEN for i_axis = 1, 2 do dustem_write_qpol,file_out,st,i_axis
	
	; Circular polarization
	if !run_circ then dustem_write_qcirc,file_out,st

	; Anisotropic heating
	IF (st.align.anisG0 > 0) THEN for i_axis = 1, 2 do dustem_write_qh,file_out,st,i_axis

	; RRF Files
	IF stregex(st.align.keywords, 'rrf', /bool) THEN for i_axis = 1, 2 do dustem_write_qpol_rrf,file_out,st,i_axis

endif
427f1205   Jean-Michel Glorian   version 4.2 merged
72

68d2f391   Jean-Philippe Bernard   modified to cope ...
73
;== TLS
427f1205   Jean-Michel Glorian   version 4.2 merged
74
file_out=dir_out_dat
68d2f391   Jean-Philippe Bernard   modified to cope ...
75
dustem_write_tls,dir_out_dat,st.tls
427f1205   Jean-Michel Glorian   version 4.2 merged
76
77
78
79

sortie:

END