You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be useful if the gaussian_phz() accepted lower= and upper= bounds, so that photometric redshifts can be sampled conditional on being in a given bin.
The text was updated successfully, but these errors were encountered:
Adds `lower=` and `upper=` keyword parameters to the `gaussian_phz()`
function to sample Gaussian photometric redshifts within the given
limits.
This currently uses a trivial rejection sampler from the full normal
distribution, so it can easily become very inefficient if the bounds
don't contain significant probability mass. Needs to be improved for
serious use.
Closes: #114
Changed: The `gaussian_phz()` function now accepts bounds using `lower=`
and `upper=` keyword parameters.
It would be useful if the
gaussian_phz()
acceptedlower=
andupper=
bounds, so that photometric redshifts can be sampled conditional on being in a given bin.The text was updated successfully, but these errors were encountered: