Skip to content

Commit

Permalink
Merge pull request #51 from zonca/d5_d8
Browse files Browse the repository at this point in the history
Implementation of other HD2017 models
  • Loading branch information
zonca authored Apr 14, 2020
2 parents 8e7b36b + e3f6678 commit 61bdf61
Show file tree
Hide file tree
Showing 5 changed files with 455 additions and 419 deletions.
31 changes: 31 additions & 0 deletions pysm/data/presets.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,21 @@ freq_ref_P = "353 GHz"
unit_mbb_temperature = "K"
freq_ref_I = "545 GHz"
freq_ref_P = "353 GHz"
[d5]
class = "HensleyDraine2017"
map_I = "pysm_2/dust_t_new.fits"
map_Q = "pysm_2/dust_q_new.fits"
map_U = "pysm_2/dust_u_new.fits"
unit_I = "uK_RJ"
unit_Q = "uK_RJ"
unit_U = "uK_RJ"
freq_ref_I = "545 GHz"
freq_ref_P = "353 GHz"
rnd_uval = true
nside_uval = 256
seed = 4632
f_car = 1.0
f_fe = 0.0
[d6]
class = "DecorrelatedModifiedBlackBody"
correlation_length = 5.0
Expand Down Expand Up @@ -106,6 +121,22 @@ nside_uval = 256
seed = 4632
f_car = 1.0
f_fe = 0.44
[d8]
class = "HensleyDraine2017"
map_I = "pysm_2/dust_t_new.fits"
map_Q = "pysm_2/dust_q_new.fits"
map_U = "pysm_2/dust_u_new.fits"
unit_I = "uK_RJ"
unit_Q = "uK_RJ"
unit_U = "uK_RJ"
freq_ref_I = "545 GHz"
freq_ref_P = "353 GHz"
rnd_uval = false
uval = 0.2
nside_uval = 256
seed = 4632
f_car = 1.0
f_fe = 0.44
[s0]
class = "PowerLaw"
map_I = "pysm_2/synch_t_new.fits"
Expand Down
3 changes: 2 additions & 1 deletion pysm/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# flake8: noqa

from .dust import ModifiedBlackBody, DecorrelatedModifiedBlackBody, HensleyDraine2017
from .dust import ModifiedBlackBody, DecorrelatedModifiedBlackBody
from .hd2017 import HensleyDraine2017
from .power_law import PowerLaw, CurvedPowerLaw
from .template import Model, read_map, apply_smoothing_and_coord_transform
from .spdust import SpDust, SpDustPol
Expand Down
Loading

0 comments on commit 61bdf61

Please # to comment.