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

Simulate CO line emission map #113

Closed
mousset opened this issue Mar 11, 2022 · 5 comments
Closed

Simulate CO line emission map #113

mousset opened this issue Mar 11, 2022 · 5 comments

Comments

@mousset
Copy link

mousset commented Mar 11, 2022

Hi,
I am trying to simulate the CO emission line at 230.5 GHz, in µK_CMB. Here is the code I use:

$ sky = pysm3.Sky(nside=128, preset_strings=["co1"], output_unit=u.uK_CMB)
$ co_emission = sky.get_emission(freq=[230.4, 230.6]*u.GHz)

I think I am not doing the right thing because the intensity map I get is very small compared to the dust map I made using the d1 model. Could you please tell me how to generate such a map? Thanks in advance.

@zonca
Copy link
Member

zonca commented Mar 11, 2022

Which version of PySM are you using?

@mousset
Copy link
Author

mousset commented Mar 11, 2022

I am using version 3.4.0b1.

@zonca
Copy link
Member

zonca commented Mar 12, 2022

thanks @mousset,
I confirm there was a bug I introduced recently in unit conversion in CO (and messed up the tests as well so they agreed!)

It should be fixed in #114

@zonca zonca closed this as completed in 07200fd Mar 12, 2022
@zonca zonca reopened this Mar 12, 2022
@zonca
Copy link
Member

zonca commented Mar 12, 2022

@mousset merged into main, could you please confirm if it is fixed?

@mousset
Copy link
Author

mousset commented Mar 12, 2022

Yes I confirm, it works perfectly now. Thanks!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants