Commit cb484534 authored by Theo Steininger's avatar Theo Steininger

Moved B-Field model parameter from Hammurapy to JF12Mixin

parent 682e3c01
......@@ -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',
......
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment