default_parameters.xml 11.3 KB
Newer Older
Theo Steininger's avatar
Theo Steininger committed
1
2
<?xml version="1.0"?>
<!-- FULL PARAMETER-SET FOR ALL MODULES -->
3
4
5
<!-- author, Jiaxin Wang -->
<!-- email, jiwang@sissa.it -->
<!-- "cue", switches for usage -->
Theo Steininger's avatar
Theo Steininger committed
6
<root>
7
    
Theo Steininger's avatar
Theo Steininger committed
8
9
    <Output>
        <!-- Dispersion Measure -->
10
11
12
13
14
15
16
17
        <!-- <DM cue="1" filename="dm.fits"/> -->
        <!-- synchrotron dmission -->
        <!-- frequency @ GHz --> 
        <!-- <Sync cue="1" freq="23" filename="iqu_sync_23.fits"/>  -->
        <!-- <Sync cue="1" freq="2.4" filename="iqu_sync_2.4.fits"/>  -->
        <!-- Faraday depth -->
        <!-- <Faraday cue="1" filename="fd.fits"/>  -->

Theo Steininger's avatar
Theo Steininger committed
18
19
    </Output>
    
20
21
22
    <!-- physical field grid in/out -->
    <!-- resolution defined in './Grid/Box' -->
    <!-- CRE field resolution defined in './CRE/Numeric' -->
Theo Steininger's avatar
Theo Steininger committed
23
24
25
26
27
28
29
30
31
    <Interface>
        <!-- regular magnetic field -->
        <breg_grid read="0" write="0" filename="breg.bin"/>
        <!-- turbulent magnetic field -->
        <brnd_grid read="0" write="0" filename="brnd.bin"/>
        <!-- free electron field -->
        <fe_grid read="0" write="0" filename="ymw16.bin"/>
        <!-- turbulent free electron field -->
        <fernd_grid read="0" write="0" filename="fernd.bin"/>
32
        <!-- cosmic ray electron field -->
Theo Steininger's avatar
Theo Steininger committed
33
34
35
        <cre_grid read="0" write="0" filename="cre.bin"/>
    </Interface>
    
36
37
    <!-- main field grid -->
    <Grid type="3D">
Theo Steininger's avatar
Theo Steininger committed
38
39
40
41
42
43
44
        <SunPosition>
            <x value="-8.3"/> <!-- kpc -->
            <y value="0"/> <!-- kpc -->
            <z value="6"/> <!-- pc -->
        </SunPosition>
        
        <Box>
45
            <!-- grid vertex number -->
Theo Steininger's avatar
Theo Steininger committed
46
47
            <nx value="400"/>
            <ny value="400"/>
48
49
50
51
52
53
54
55
            <nz value="80"/>
            <!-- box limit, in Galactic-centric frame -->
            <x_min value="-20.0"/> <!-- kpc -->
            <x_max value="20.0"/> <!-- kpc -->
            <y_min value="-20.0"/> <!-- kpc -->
            <y_max value="20.0"/> <!-- kpc -->
            <z_min value="-4.0"/> <!-- kpc -->
            <z_max value="4.0"/> <!-- kpc -->
Theo Steininger's avatar
Theo Steininger committed
56
        </Box>
57
        <!-- LOS integration setting -->
Theo Steininger's avatar
Theo Steininger committed
58
        <Integration>
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
            <shell type="auto">
                <!-- default setting of shells -->
                <auto>
                    <shell_num value="1"/> <!-- total shell number -->
                    <nside_min value="16"/> <!-- inner most shell resolution -->
                </auto>
                <!-- set shell resolution from inside out -->
                <!-- total shell number calculated automatically -->
                <manual>
                    <nside value="32"/> <!-- inner most shell Nside -->
                    <nside value="16"/>
                </manual>
            </shell>
            <nside_sim value="16"/> <!-- output map resolution -->
            <!-- maximum radius in earth/Galactic centric frame -->
74
            <ec_r_max value="30.0"/> <!-- kpc -->
Theo Steininger's avatar
Theo Steininger committed
75
            <gc_r_max value="20.0"/> <!-- kpc -->
76
            <!-- maximum height in galactic centric frame -->
Theo Steininger's avatar
Theo Steininger committed
77
            <gc_z_max value="10.0"/> <!-- kpc -->
78
            <!-- radial resolution -->
Theo Steininger's avatar
Theo Steininger committed
79
            <ec_r_res value="0.1"/> <!-- kpc -->
80
            <!-- galactic latitude lower limit -->
Theo Steininger's avatar
Theo Steininger committed
81
82
83
84
            <lat_lim value="0."/> <!-- [0,90] -->
        </Integration>
    </Grid>
    
85
    <!-- galaxy settings -->
Theo Steininger's avatar
Theo Steininger committed
86
    <Galaxy>
87
        <!-- magnetic fields -->
Theo Steininger's avatar
Theo Steininger committed
88
89
90
91
92
93
94
95
96
97
        <MagneticField>
            <!-- regular fields -->
            <Regular type="WMAP">
                <!-- WMAP3yr -->
                <WMAP>
                    <b0 value="2.0"/>
                    <psi0 value="27.0"/>
                    <psi1 value="0.9"/>
                    <chi0 value="25.0"/>
                </WMAP>
98
99
100
                <!-- verification -->
                <Verify>
                    <b0 value="2.0"/>
Theo Steininger's avatar
Theo Steininger committed
101
                    <l0 value="70"/>
102
103
                    <r value="0.3"/>
                </Verify>
Theo Steininger's avatar
Theo Steininger committed
104
105
            </Regular>
            <!-- turbulent fields -->
106
            <!-- seed works for IMAGINE -->
107
108
109
            <Random cue="0" type="Iso" seed="-1">
                <!-- isotropic -->
                <Iso>
110
111
                    <rms value="0.1"/> <!-- norm at k0 -->
                    <k0 value="0.5"/> <!-- cutoff, 1/(Lambda in kpc) -->
112
113
114
115
116
117
118
119
                    <a0 value="1.7"/> <!-- 5/3, Kolmogrov -->
                </Iso>
                <!-- global anisotropy -->
                <Anisoglob>
                    <rho value="0.5"/>
                </Anisoglob>
                <!-- local turbulent -->
                <Anisolocal>
120
121
122
123
                    <beta value="0.1"/> <!-- plasma beta -->
                    <Ma value="0.5"/> <!-- Alfven Mach number -->
                    <rf value="1.0"/> <!-- fast to Alfven ratio -->
                    <rs value="1.0"/> <!-- slow to Alfven ratio -->
124
                </Anisolocal>
125
                <!-- energy density rescaling -->
Theo Steininger's avatar
Theo Steininger committed
126
127
128
129
130
131
132
                <Rescal>
                    <r0 value="8.0"/> <!-- in kpc -->
                    <z0 value="1.0"/> <!-- in kpc -->
                </Rescal>
            </Random>
        </MagneticField>
        
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
        <!-- free electron field -->
        <FreeElectron>
            <Regular type="YMW16">
                <!-- YMW16 -->
                <YMW16>
                    <Warp>
                        <R_warp value="8.4"/>
                        <Gamma_w value="0.14"/>
                        <R0 value="8.3"/>
                    </Warp>
                    <ThickDisk>
                        <Ad value="2500"/>
                        <Bd value="15000"/>
                        <n1 value="0.01132"/>
                        <H1 value="1673"/>
                    </ThickDisk>
                    <ThinDisk>
                        <A2 value="1200"/>
                        <B2 value="4000"/>
                        <n2 value="0.404"/>
                        <K2 value="1.54"/>
                    </ThinDisk>
                    <!-- using HH14 SpiralArms -->
                    <SpiralArm>
                        <B2s value="4000"/>
                        <Ele_arm_0 value="0.135000"/>
                        <Ele_arm_1 value="0.129000"/>
                        <Ele_arm_2 value="0.103000"/>
                        <Ele_arm_3 value="0.116000"/>
                        <Ele_arm_4 value="0.005700"/>
                        <Wid_arm_0 value="300"/>
                        <Wid_arm_1 value="500"/>
                        <Wid_arm_2 value="300"/>
                        <Wid_arm_3 value="500"/>
                        <Wid_arm_4 value="300"/>
                        <Aa value="11680"/>
                        <Ka value="5.015"/>
                        <ncn value="2.4"/>
                        <wcn value="8.2"/>
                        <thetacn value="109"/>
                        <nsg value="0.626"/>
                        <wsg value="20"/>
                        <thetasg value="75.8"/>
                    </SpiralArm>
                    <GalCenter>
                        <ngc value="6.2"/>
                        <Agc value="160"/>
                        <Hgc value="35"/>
                    </GalCenter>
                    <GumNebula>
                        <ngn value="1.84"/>
                        <Wgn value="15.1"/>
                        <Agn value="125.8"/>
                        <Kgn value="1.4"/>
                    </GumNebula>
                    <LocalBubble>
                        <J_LB value="0.480"/>
                        <nlb1 value="1.094"/>
                        <detlb1 value="28.4"/>
                        <wlb1 value="14.2"/>
                        <hlb1 value="112.9"/>
                        <thetalb1 value="195.4"/>
                        <nlb2 value="2.33"/>
                        <detlb2 value="14.7"/>
                        <wlb2 value="15.6"/>
                        <hlb2 value="43.6"/>
                        <thetalb2 value="278.2"/>
                    </LocalBubble>
                    <LoopI>
                        <nLI value="1.907"/>
                        <RLI value="80.0"/>
                        <WLI value="15.0"/>
                        <detthetaLI value="30.0"/>
                        <thetaLI value="40.0"/>
                    </LoopI>
                </YMW16>
                <!-- verification -->
                <Verify>
                    <n0 value="0.01"/> <!-- pccm -->
212
                    <r0 value="3.0"/> <!-- kpc -->
213
214
                </Verify>
            </Regular>
Theo Steininger's avatar
Theo Steininger committed
215
            <!-- turbulent free electron -->
216
217
218
            <Random cue="0" type="Iso" seed="-1">
                <Iso>
                    <rms value="1.0"/>
219
                    <k0 value="2.0"/> <!-- cutoff 1/Lambda in kpc -->
Theo Steininger's avatar
Theo Steininger committed
220
                    <a0 value="-1.7"/>
221
                </Iso>
222
                <!-- field strength rescaling -->
Theo Steininger's avatar
Theo Steininger committed
223
224
225
226
227
228
229
                <Rescal>
                    <r0 value="8.0"/> <!-- in kpc -->
                    <z0 value="1.0"/> <!-- in kpc -->
                </Rescal>
            </Random>
        </FreeElectron>
        
230
        <!-- spiral arms setting -->
Theo Steininger's avatar
Theo Steininger committed
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
        <SpiralArms type="HH14">
            <!-- Hou & Han, A&A 569 A125 (2014), used in YMW16, R0=8.3 -->
            <HH14>
                <NumArms value="5"/>
                <R_1 value="3.35"/> <!-- Noma-Outer Arm -->
                <R_2 value="3.71"/> <!-- Peseus Arm -->
                <R_3 value="3.56"/> <!-- Carina-Segittarius Arm -->
                <R_4 value="3.67"/> <!-- Crux-Scutum Arm -->
                <R_5 value="8.21"/> <!-- Local Arm -->
                <phi_1 value="44.4"/>
                <phi_2 value="120.0"/>
                <phi_3 value="218.6"/>
                <phi_4 value="330.3"/>
                <phi_5 value="55.1"/>
                <psi_1 value="11.43"/>
                <psi_2 value="9.84"/>
                <psi_3 value="10.38"/>
                <psi_4 value="10.64"/>
                <psi_5 value="2.77"/>
            </HH14>
        </SpiralArms>
    </Galaxy>
    
254
255
256
257
258
    <!-- analytic/numeric CRE -->
    <CRE type="Analytic">
        <!-- verification -->
        <Verify>
            <alpha value="3.0"/>
259
            <r0 value="3.0"/> <!-- kpc -->
260
261
262
            <je value="0.25"/> <!-- local CRE flux norm factor @ 10GeV -->
        </Verify>
        
Theo Steininger's avatar
Theo Steininger committed
263
        <Analytic>
264
            <!-- CRE spectral index: -alpha+beta*r+theta*z, Galactic cylindric frame -->
Theo Steininger's avatar
Theo Steininger committed
265
266
267
            <alpha value="3.0"/>
            <beta value="0.0"/>
            <theta value="0.0"/>
268
269
270
            <hr value="5.0"/> <!-- kpc -->
            <hz value="1.0"/> <!-- kpc -->
            <je value="0.25"/> <!-- local CRE flux norm factor @ 10GeV -->
Theo Steininger's avatar
Theo Steininger committed
271
272
273
        </Analytic>
        
        <Numeric type="2D">
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
            <!-- 2D Galactic-centric cylindric frame -->
            <nr value="80"/> <!-- silent if type="3D" -->
            <nz value="80"/>
            <nx value="80"/> <!-- silent if type="2D" -->
            <ny value="80"/> <!-- silent if type="2D" -->
            
            <!-- box limit, in Galactic-centric frame -->
            <r_max value="20.0"/> <!-- kpc -->
            <x_min value="0.0"/> <!-- kpc -->
            <x_max value="0.0"/> <!-- kpc -->
            <y_min value="0.0"/> <!-- kpc -->
            <y_max value="0.0"/> <!-- kpc -->
            <z_min value="-4.0"/> <!-- kpc -->
            <z_max value="4.0"/> <!-- kpc -->
            
            <!-- E_max = E_min*exp(nE*E_fact) -->
            <E_min value="0.1"/> <!-- GeV -->
            <E_max value="100.0"/> <!-- GeV -->
            <E_fact value="0.1"/> <!-- dimensionless -->
Theo Steininger's avatar
Theo Steininger committed
293
294
295
296
        </Numeric>
    </CRE>
    
</root>