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

Fix srd nz for the sources #57

Merged
merged 3 commits into from
Jul 5, 2024
Merged

Fix srd nz for the sources #57

merged 3 commits into from
Jul 5, 2024

Conversation

arthurmloureiro
Copy link
Collaborator

Related to #51 . Fixes the implementation of the equal density binning and the convolution with the gaussian redshift error.

Solutions were pulled from the work I've done for Glass here using the implementation of @ntessore 's cumtrapz function.

New SRD implementation was benchmarked against @paulrogozenski implementations on the Forecasting repository notebooks and files found here. See #51 for more details and benchmarks.

@arthurmloureiro arthurmloureiro added the bug Something isn't working label Jul 4, 2024
@arthurmloureiro arthurmloureiro self-assigned this Jul 4, 2024
@arthurmloureiro arthurmloureiro changed the title Fix srd nz Fix srd nz for the sources Jul 4, 2024
@arthurmloureiro arthurmloureiro marked this pull request as ready for review July 4, 2024 15:28
Copy link
Collaborator

@fjaviersanchez fjaviersanchez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great to me!

@arthurmloureiro arthurmloureiro merged commit d393a82 into master Jul 5, 2024
1 check passed
@arthurmloureiro arthurmloureiro deleted the fix_SRD_nz branch July 5, 2024 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug in redshift distribution especially affecting the first source bin
2 participants