GalaxyPhotoDist#
- class cosmicjellyfish.LSSsurvey.photo_window.GalaxyPhotoDist(photopars, *, specifications=None)[source]#
Bases:
object- dNdz(z)[source]#
unnormalized dN/dz(z)
- Parameters:
z (
numpy.ndarray) – array of redshifts at which to compute the galaxy distribution- Returns:
unnormalized theoretical galaxy redshift distribution
- Return type:
Note
Implements the following parametrization:
\[\frac{{\rm d} N}{{\rm d} z} = \left(\frac{z}{z_b}\right)^2 \, \exp \left[-\left(\frac{z}{z_0}\right)^{n_\gamma} \right]\]
- n_i(z, i, obs='GCph')[source]#
Function to compute the unnormalized dN/dz(z) with a window picking function applied to it
- ngal_photoz(z, i, obs)[source]#
Function to compute the binned galaxy redshift distribution convolved with photometric redshift errors n^{ph}_i(z)
- Parameters:
- Returns:
binned galaxy distribution convolved with photometric redshift errors
- Return type:
Note
Implements the following equation:
\[p_{ph}(z_p|z) = \frac{1-f_{out}}{\sqrt{2\pi}\sigma_b(1+z)} \exp\left\{-\frac{1}{2}\left[\frac{z-c_bz_p-z_b}{\sigma_b(1+z)}\right]^2\right\} \ + \frac{f_{out}}{\sqrt{2\pi}\sigma_0(1+z)} \exp\left\{-\frac{1}{2}\left[\frac{z-c_0z_p-z_0}{\sigma_0(1+z)}\right]^2\right\}\]