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

Changes to project_2d.py to allow for different source bins #81

Merged
merged 4 commits into from
Jul 17, 2023

Conversation

andrejdvornik
Copy link
Contributor

... but not complete cross-correlations.

Motivation: if a passed power spectra is a cross-correlation between a tracer and a matter (for instance galaxy-galaxy lensing) then if the spectrum is passed for each lens bin separately, in most cases the underlying matter part will stay the same, thus can be correlated with a different tomographic bin for the source distribution.

This change hopefully accounts for that, but will still not allow the cross-correlations if the power spectrum is the auto-correlation in the first place. This should still also be ok for the IA and magnification cases.

Apart from this, the changes to allow for general clustering work perfectly. I can produce Cells for any power spectrum generated in this case using a HOD based halo model.

@joezuntz
Copy link
Owner

joezuntz commented Jul 6, 2023

The failing checks are conda-related, not to do with your changes. Let me fix them in main!

@joezuntz
Copy link
Owner

joezuntz commented Jul 7, 2023

Could you merge the main branch into this PR? I have added various fixes to the installation system that should hopefully fix these failures.

@andrejdvornik
Copy link
Contributor Author

Merged the main now, sorry for a silence.

@joezuntz joezuntz merged commit 9b3ddac into joezuntz:main Jul 17, 2023
@joezuntz
Copy link
Owner

Thanks!

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.

2 participants