Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
IMAGINE
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ift
IMAGINE
Commits
53b9afb8
Commit
53b9afb8
authored
Sep 21, 2017
by
Theo Steininger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated to newest version of ham-x
parent
d73e9904
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
23 deletions
+25
-23
imagine/magnetic_fields/wmap3yr_magnetic_field/wmap3yr_magnetic_field.py
...c_fields/wmap3yr_magnetic_field/wmap3yr_magnetic_field.py
+3
-2
imagine/observers/hammurapy/input/default_parameters.xml
imagine/observers/hammurapy/input/default_parameters.xml
+22
-21
No files found.
imagine/magnetic_fields/wmap3yr_magnetic_field/wmap3yr_magnetic_field.py
View file @
53b9afb8
...
...
@@ -12,8 +12,9 @@ class WMAP3yrMagneticField(MagneticField):
'psi0'
:
(
'./Galaxy/MagneticField/Regular/WMAP/psi0'
,
'value'
),
'psi1'
:
(
'./Galaxy/MagneticField/Regular/WMAP/psi1'
,
'value'
),
'chi0'
:
(
'./Galaxy/MagneticField/Regular/WMAP/chi0'
,
'value'
),
'random_rms'
:
(
'./Galaxy/MagneticField/Random/rms'
,
'value'
),
'random_rho'
:
(
'./Galaxy/MagneticField/Random/rho'
,
'value'
)}
'random_rms'
:
(
'./Galaxy/MagneticField/Random/Iso/rms'
,
'value'
),
'random_rho'
:
(
'./Galaxy/MagneticField/Random/Anisoglob/rho'
,
'value'
)}
return
lookup
def
_create_field
(
self
):
...
...
imagine/observers/hammurapy/input/default_parameters.xml
View file @
53b9afb8
...
...
@@ -50,9 +50,12 @@
<Integration>
<shell
value=
"1"
/>
<nside
value=
"64"
/>
<!-- maximum radius in earth/galactic centric frame -->
<ec_r_max
value=
"30.0"
/>
<!-- kpc -->
<gc_r_max
value=
"20.0"
/>
<!-- kpc -->
<!-- maximum height in galactic centric frame -->
<gc_z_max
value=
"10.0"
/>
<!-- kpc -->
<!-- radial resolution -->
<ec_r_res
value=
"0.1"
/>
<!-- kpc -->
<!-- lower limit on galactic latitude -->
<lat_lim
value=
"0."
/>
<!-- [0,90] -->
...
...
@@ -82,20 +85,21 @@
</Local>
</Regular>
<!-- turbulent fields -->
<Random
cue=
"0"
type=
"Gauss"
seed=
"-1"
>
<rms
value=
"1.0"
/>
<rho
value=
"1.0"
/>
<!-- Gaussian random -->
<Gauss>
<p0
value=
"2.0"
/>
<!-- norm at k0 -->
<k0
value=
"1.0"
/>
<!-- k0 = 1/Lambda in kpc -->
<a0
value=
"-1.7"
/>
</Gauss>
<!-- Gaussian + Aniso -->
<GaussPlus>
<!-- use Gaussian random setting above -->
<beta
value=
"0.5"
/>
</GaussPlus>
<Random
cue=
"0"
type=
"Iso"
seed=
"-1"
>
<!-- isotropic -->
<Iso>
<rms
value=
"1.0"
/>
<!-- norm at k0 -->
<k0
value=
"0.5"
/>
<!-- k0 = 1/(Lambda in kpc) -->
<a0
value=
"1.7"
/>
<!-- 5/3, Kolmogrov -->
</Iso>
<!-- global anisotropy -->
<Anisoglob>
<rho
value=
"0.5"
/>
</Anisoglob>
<!-- local turbulent -->
<Anisolocal>
<beta
value=
"1.0"
/>
</Anisolocal>
<!-- rescaling -->
<Rescal>
<r0
value=
"8.0"
/>
<!-- in kpc -->
...
...
@@ -181,12 +185,12 @@
</YMW16>
<!-- turbulent free electron -->
<Random
cue=
"0"
type=
"
Gauss
"
>
<
Gauss
>
<
p0
value=
"1.0"
/>
<Random
cue=
"0"
type=
"
Iso"
seed=
"-1
"
>
<
Iso
>
<
rms
value=
"1.0"
/>
<k0
value=
"2.0"
/>
<!-- k0 = 1/Lambda in kpc -->
<a0
value=
"-1.7"
/>
</
Gauss
>
</
Iso
>
<!-- rescaling -->
<Rescal>
<r0
value=
"8.0"
/>
<!-- in kpc -->
...
...
@@ -245,7 +249,4 @@
</Numeric>
</CRE>
<!-- DRAGON GRID FOR NUMERICAL CRE INPUT -->
</root>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment