Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
IMAGINE
Commits
fc6c5d0d
Commit
fc6c5d0d
authored
Sep 05, 2017
by
Theo Steininger
Browse files
Integrated WMAP model fully into imagine pipeline.
parent
5532fc9d
Changes
5
Hide whitespace changes
Inline
Side-by-side
imagine/magnetic_fields/__init__.py
View file @
fc6c5d0d
...
...
@@ -11,3 +11,6 @@ from jaffe13_magnetic_field import Jaffe13MagneticField, \
from
jf12_magnetic_field
import
JF12MagneticField
,
\
JF12MagneticFieldFactory
from
wmap3yr_magnetic_field
import
WMAP3yrMagneticField
,
\
WMAP3yrMagneticFieldFactory
imagine/magnetic_fields/magnetic_field/magnetic_field.py
View file @
fc6c5d0d
...
...
@@ -8,7 +8,7 @@ from nifty import Field, FieldArray, RGSpace
class
MagneticField
(
Field
):
def
__init__
(
self
,
parameters
=
[]
,
domain
=
None
,
val
=
None
,
dtype
=
None
,
def
__init__
(
self
,
parameters
=
{}
,
domain
=
None
,
val
=
None
,
dtype
=
None
,
distribution_strategy
=
None
,
copy
=
False
,
random_seed
=
None
):
super
(
MagneticField
,
self
).
__init__
(
...
...
imagine/magnetic_fields/wmap3yr_magnetic_field/__init__.py
View file @
fc6c5d0d
# -*- coding: utf-8 -*-
from
wmap3yr_magnetic_field
import
WMAP3yrMagneticField
from
wmap3yr_magnetic_field_factory
import
WMAP3yrMagneticFieldFactory
\ No newline at end of file
from
wmap3yr_magnetic_field_factory
import
WMAP3yrMagneticFieldFactory
imagine/observers/hammurapy/hammurapy.py
View file @
fc6c5d0d
...
...
@@ -37,7 +37,8 @@ class Hammurapy(Observer):
'obs_shell_index_numb'
:
'1'
,
'total_shell_numb'
:
'3'
,
'vec_size_R'
:
'500'
,
'max_radius'
:
'35'
,
'max_radius'
:
'30'
,
'max_z'
:
'15'
,
'B_field_transform_lon'
:
'-999'
,
'B_field_transform_lat'
:
'-999'
,
'TE_grid_filename'
:
'negrid_n400.bin'
,
...
...
imagine/observers/hammurapy/model_mixins/__init__.py
View file @
fc6c5d0d
...
...
@@ -2,3 +2,4 @@
from
jaffe13_mixin
import
Jaffe13Mixin
from
jf12_mixin
import
JF12Mixin
from
wmap3yr_mixin
import
WMAP3yrMixin
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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