glass-dev / glass

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

Denote that `redshifts_from_nz` is deprecated for direct use #137

Open mwiet opened 10 months ago

mwiet commented 10 months ago

Make note of galaxies.redshifts_from_nz being deprecated for direct use by the user. The function may encourage the variation of the sample nz by the user, but it is fixed by shells.restrict or shells.partition.

Instead, only galaxies.redshifts should be employed directly by users.