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

Mask power spectrum not automatically adjusted #11

Open
ShrihanSolo opened this issue Jun 18, 2024 · 0 comments
Open

Mask power spectrum not automatically adjusted #11

ShrihanSolo opened this issue Jun 18, 2024 · 0 comments

Comments

@ShrihanSolo
Copy link

The README states the following:

"c_footprint_file: (optional) a footprint file containing the mask power spectrum, which is read-in in C_survey_window in cosmolike_core/theory/covariances_3D.c; note that the normalization of the power spectrum is automatically adjusted,"

However, changing the c_footprint_file input normalization causes a roughly linear change in the covariances produced. I attach an example of two different DES-like mask files, one of which is normalized, and another which is not. Running the same covariance generation with the two causes different results in each case, i.e. the normalization of the power spectrum is not automatically adjusted and must be done before input.

Example mask files (with incorrect normalization, and with correct normalization):
mask_Cl_DES.txt
mask_Cl_DES_norm.txt

Using the incorrect mask causes covariances to be underestimated by a factor of ~8. I am also unable to find an instance of any automatic adjustment in the code, but open to clarifications on the documentation as I have not dug into it in great detail.

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

1 participant