Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Reproduce PySM 2 templates for Dust #66

Merged
merged 6 commits into from
Jan 14, 2021
Merged

Conversation

zonca
Copy link
Member

@zonca zonca commented Oct 29, 2020

I am trying to reproduce the processing of the Commander Dust map into the PySM templates for Dust, as described in the PySM 2 paper: https://arxiv.org/pdf/1608.02841.pdf

Something looks wrong, in particular the BB spectrum I get is too flat.
Any hints?
You can comment directly line-by-line on the notebook here: https://app.reviewnb.com/healpy/pysm/pull/66/files/

Or just view a read-only version of the notebook here: https://nbviewer.jupyter.org/github/healpy/pysm/blob/37eb60355979b49a90405dab8624c830fbb64bd7/docs/template_preprocessing/reproduce_pysm2_dust.ipynb

@NicolettaK @bthorne93 @brandonshensley @jodunkley

@zonca zonca self-assigned this Oct 29, 2020
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@zonca
Copy link
Member Author

zonca commented Nov 6, 2020

I tried to compute the spectrum with namaster instead of PolSpice, using all default options, just passing the mask with no apodization:

f_2 = nmt.NmtField(total_mask, m_planck[1:])
binning = nmt.NmtBin.from_nside_linear(nside, 1)
cl_22 = nmt.compute_full_master(f_2, f_2, binning)

but I pretty much get the same results:

image
image

the BB spectrum is very flat, the gamma fit is -0.0018

@zonca
Copy link
Member Author

zonca commented Jan 14, 2021

thanks @bthorne93 for suggesting to denoise the spectra,
I made a rough estimate of the white noise level in EE and BB and now the agreement with the PySM 2 paper is reasonable.
I'm merging this into the documentation of PySM 3 for future reference.

Plot from the PySM 2 paper

image

Plot from my implementation

image

@zonca zonca marked this pull request as ready for review January 14, 2021 00:21
@zonca zonca merged commit 6c0a33f into galsci:master Jan 14, 2021
@zonca
Copy link
Member Author

zonca commented Jan 14, 2021

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

Successfully merging this pull request may close these issues.

None yet

1 participant