glass-dev / glass

Generator for Large Scale Structure
https://glass.readthedocs.io
MIT License
33 stars 8 forks source link

sample photometric redshifts from histogram #117

Open ntessore opened 1 year ago

ntessore commented 1 year ago

For simplicity's sake, we should add a function that samples photometric redshifts from a given 2D histogram of true and photometric redshifts.