Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
On Thursday, 7th July from 1 to 3 pm there will be a maintenance with a short downtime of GitLab.
Open sidebar
ift
IMAGINE
Commits
cb484534
Commit
cb484534
authored
Feb 17, 2017
by
Theo Steininger
Browse files
Moved B-Field model parameter from Hammurapy to JF12Mixin
parent
682e3c01
Changes
2
Hide whitespace changes
Inline
Side-by-side
imagine/observers/hammurapy/hammurapy.py
View file @
cb484534
...
...
@@ -36,13 +36,6 @@ class Hammurapy(Observer):
'TE_ny'
:
'400'
,
'TE_nz'
:
'80'
,
'TE_interp'
:
'T'
,
'B_field_do_random'
:
'T'
,
'obs_freq_GHz'
:
'22'
,
'B_field_RMS_uG'
:
'2'
,
'B_analytic_beta'
:
'0'
,
'B_field_interp'
:
'T'
,
'use_B_analytic'
:
'F'
,
'B_ran_mem_lim'
:
'4'
,
'do_sync_emission'
:
'F'
,
'do_rm'
:
'F'
,
'do_dm'
:
'F'
,
...
...
imagine/observers/hammurapy/model_mixins/jf12_mixin.py
View file @
cb484534
...
...
@@ -10,7 +10,15 @@ class JF12Mixin(object):
def
_build_parameter_dict
(
self
,
parameter_dict
,
magnetic_field
,
working_directory
,
local_ensemble_index
):
parameter_dict
[
'B_field_type'
]
=
'51'
parameter_dict
.
update
({
'B_field_type'
:
'7'
,
'B_field_do_random'
:
'T'
,
'B_analytic_beta'
:
'1.36'
,
'B_field_RMS_uG'
:
'1'
,
'B_field_interp'
:
'T'
,
'use_B_analytic'
:
'F'
,
'B_ran_mem_lim'
:
'4'
,
'obs_freq_GHz'
:
'23'
})
parameter_dict
.
update
(
magnetic_field
.
parameters
)
super
(
JF12Mixin
,
self
).
_build_parameter_dict
(
parameter_dict
,
...
...
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