cosmo_utils.mock_catalogues.mags_calculations.absolute_magnitude_lim(z, mag_lim, cosmo=None, H0=100.0, verbose=True)[source] [edit on github]

Calculates the absolute magnitude limit as function of redshift z for a flux-limited survey.


z : float, int, or array_like

Maximum redshift for a given flux-limited survey.

mag_lim : float

Apparent magnitude limit of the flux-limited survey.

cosmo : astropy.cosmology object

Cosmology object from Astropy.

H0 : float, optional

Hubble parameters value used to estimate distances. This variable is set to 100 km/s/Mpc by default.

verbose : bool, optional

If True, a message will appear when the default cosmology is used.


abs_mag : float, int, or array_like

Absolute magnitude limit in units of abs_mag + 5*log10(h), where h is the little Hubble parameter.


LSSUtils_Error : Exception

Program exception if input parameters are accepted