gwpopulation_pipe.data_collection.cosmological_redshift_prior

cosmological_redshift_prior(redshift)[source]

Evaluate the redshift prior assuming a cosmological universe.

\[p(z) \propto \frac{4\pi}{1 + z}\frac{dV_C}{dz}\]

This uses the wcosmo.Planck15 cosmology.

Parameters:
redshift: array_like

The redshift values to evaluate the prior for.