Skip to content

Script for covariance from Gaussian simulations#286

Open
sachaguer wants to merge 4 commits into
feature/sp_validation-extend-to-tomographyfrom
feature/cl-gaussian-sims
Open

Script for covariance from Gaussian simulations#286
sachaguer wants to merge 4 commits into
feature/sp_validation-extend-to-tomographyfrom
feature/cl-gaussian-sims

Conversation

@sachaguer

Copy link
Copy Markdown
Contributor

This PR implements a script from the previous non-tomographic implementation (see issue #282).
The script relies on the cosmo_val cat_config such that it can be run in parallel of cosmo_val.
The Cl evaluations are parallelised with MPI to efficiently get samples.

The pipeline is now running without Runtime errors but remains to be validated against the iNKA implementation.

I will add a plot when the latter validation is ready and ping for reviews.

@sachaguer
sachaguer requested a review from cailmdaley July 17, 2026 15:37
@sachaguer sachaguer self-assigned this Jul 17, 2026
@sachaguer sachaguer added the enhancement New feature or request label Jul 17, 2026
@sachaguer sachaguer linked an issue Jul 17, 2026 that may be closed by this pull request
@sachaguer

Copy link
Copy Markdown
Contributor Author

I fixed a few bugs in the implementation that now returns sensible outputs for the pseudo-Cl samples from the Gaussian simulations (see e.g. the samples against the fiducial for noise-bias subtracted auto-bins below).

image

When the samples will be finished, a final runtime validation of the merged covariance will be possible and a comparison with iNKA.

@sachaguer

Copy link
Copy Markdown
Contributor Author

Progress report: the first covariance from Gaussian simulations has been produced:

image

Still there is a big disagreement between the simulations and iNKA that I need to pin down

image

@sachaguer

Copy link
Copy Markdown
Contributor Author

Progress report: iNKA and Gaussian sims agree on the non-tomographic case. Tomographic case is running. There is no reason why they should disagree so this should be nice final validation showing convergence of the code.

image

@sachaguer

Copy link
Copy Markdown
Contributor Author

This circles nicely from the bug reported in #291 to the validation of the Gaussian simulated covariance and the GLASS mocks.

The bug fixed on the noise bias propagation for the iNKA covariance looks much better (see below)

image

I shared the non-tomographic agreement between the Gaussian sims and the iNKA covariance above. This agreement remains in the tomographic case (see figure below for the bin 6-6 of the test mock used, I also checked cross-bins and other auto-correlations)

image

I think this finalises the validation of #190 #286 #291. @cailmdaley this PR can be reviewed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pseudo-cl covariance from Gaussian simulations

1 participant