Skip to content

gh-1111: add redshifts_from_bins()#1138

Open
ntessore wants to merge 1 commit into
mainfrom
nt/1111
Open

gh-1111: add redshifts_from_bins()#1138
ntessore wants to merge 1 commit into
mainfrom
nt/1111

Conversation

@ntessore

Copy link
Copy Markdown
Collaborator

Description

Add a new function glass.redshift_from_bins() that allows sampling redshifts from existing tomographic bin labels and redshift distributions.

Closes: #1111

Changelog entry

Added: A new function glass.redshifts_from_bins() to sample redshifts from existing tomographic bin labels and redshift distributions.

Checks

  • Is your code passing linting?
  • Is your code passing tests?
  • Have you added additional tests (if required)?
  • Have you modified/extended the documentation (if required)?
  • Have you added a one-liner changelog entry above (if required)?

@ntessore ntessore requested a review from connoraird June 17, 2026 20:45
@ntessore ntessore marked this pull request as ready for review June 17, 2026 20:48
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.

Add function to sample redshifts from given tomographic bins

1 participant