Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Implementation of other HD2017 models #51

Merged
merged 4 commits into from
Apr 14, 2020
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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