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

Verification of GNILC dust templates d9 d10 d11 #167

Closed
zonca opened this issue Jun 26, 2023 · 8 comments
Closed

Verification of GNILC dust templates d9 d10 d11 #167

zonca opened this issue Jun 26, 2023 · 8 comments
Assignees

Comments

@zonca
Copy link
Member

zonca commented Jun 26, 2023

Dust and synchrotron templates are produced in 2 stages.
First the actual modeling is performed at Nside 2048 or lower, then the output products, generally Alm of large scales and C_ell of small scales are saved.
In the second step those artifacts are loaded, a realization of the small scales with a specific seed and ell_max at 16384, then everything is assembled into the templates.

Given #164, it is necessary to verify all outputs more carefully even in the second stage.

@zonca zonca self-assigned this Jun 26, 2023
@zonca
Copy link
Member Author

zonca commented Jun 26, 2023

beta dust

image

@zonca
Copy link
Member Author

zonca commented Jun 26, 2023

Td dust

image

@zonca
Copy link
Member Author

zonca commented Jun 27, 2023

Templates at 353 GHz

image
image
image

@zonca
Copy link
Member Author

zonca commented Jun 27, 2023

the feature at high ell in the Nside 8192 maps is due to ud_grade performed on the "Galactic plane fix" procedure, where we replace the galactic signal with the input maps which are at Nside 2048.

The feature disappears if we mask the galaxy (T plot only):

image

This is a case similar to synchrotron, and is as well related to the "Galactic plane fix", see CMB-S4/s4mapbasedsims#29 (comment).
So same solution, I will add reference to this to the documentation and will monitor this in future releases of the models.

@zonca
Copy link
Member Author

zonca commented Jun 27, 2023

smoothing only (for example 0.9 arcmin in the plot below), is not sufficient to get rid of this artifact, so the solution is to mask, which is the standard way of taking a spectrum anyway.

image

@zonca zonca changed the title Verification of dust and synchrotron templates Verification of GNILC dust templates d9 d10 d11 Jun 27, 2023
zonca added a commit that referenced this issue Jun 27, 2023
@zonca
Copy link
Member Author

zonca commented Jun 27, 2023

Notebook used to create the debugging plots above https://gist.github.com/zonca/881c773ff479146e908378091615e175 (modification of notebook to create the templates which is in the repo already)

@giuspugl
Copy link
Contributor

Wow! this is somehow consistent with what we've observed for synchrotron as well #169 (comment) ! is it the ud_grade routine then ?

@zonca
Copy link
Member Author

zonca commented Jun 28, 2023

I am pretty sure here for dust because it doesn't happen at 2048.
It would be interesting to do a test where instead of ud_grade we apply the galactic plane fix in spherical harmonics domain, however that would be too slow for on-the-fly models like s6 and d11, so we might have to precompute all resolutions beforehand.

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

No branches or pull requests

2 participants