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

Additions to the two_point.py enabling one to add a 1pt statistics to the cosmosis data file #127

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

andrejdvornik
Copy link
Contributor

This adds the functionality to the two_point.py which enables to include a 1pt statistics (in the like of stellar mass function, luminosity function, and similar) to the cosmosis fits files and allows those to be included in the likelihood.

It probably needs more testing and bug fixing, as I have probably not captured all edge cases when implementing the additions. 🫣

Due to the behaviour of 1pt statistics, a lot was borrowed from the NumberDensity class.

The covariance construction seems a bit hacky as well. 🤷‍♂️

This adds the functionality to the two_point.py which enables to include a one-point statistics to the cosmosis fits files and allows those to be included in the likelihood. It probably needs more testing and bug fixing, as I have probably not capture all edge cases when implementing  the additions. Due to the behaviour of one-point statistics, a lot was borrowed from tne n(z) functionality.
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.

1 participant