gwpopulation_pipe.data_collection.cosmological_redshift_prior

cosmological_redshift_prior(redshift, cosmology='Planck15_LAL')[source]

Evaluate the redshift prior assuming a cosmological universe.

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

The redshift values to evaluate the prior for.

cosmology: str

The name of the cosmology, default is Planck15_LAL