SpectroCov#
- class cosmicjellyfish.LSSsurvey.spectro_cov.SpectroCov(fiducialpars, fiducial_specobs=None, bias_samples=['g', 'g'], configuration=None)[source]#
Bases:
object- Tsys_func(z)[source]#
Calculates Tsys in mK
- Parameters:
z (
float,numpy.ndarray) – Redshift at which to compute Tsys- Returns:
Tsys at z in milli Kelvin
- Return type:
- volume_bin(zi, zj)[source]#
Calculates the comoving volume of a spherical shell
- Parameters:
zi (
float,numpy.ndarray) – Redshift of the inner spherezj (
float,numpy.ndarray) – Redshift of the outer sphere
- Returns:
Volume of the comoving spherical shell between zj and zi
- Return type:
- veff(zi, k, mu)[source]#
calculate the effective volume entering the covariance of the galaxy clustering probe
- Parameters:
zi (
float) – Redshift of the inner spherek (
float,numpy.ndarray) – wave number at which the effective volume should be calculatedmu (
float,numpy.ndarray) – The cosine of angle between the wavevector and the line-of-sight direction.Returns
float – The effective volume for a given wavenumber, angle and redshift
numpy.ndarray – The effective volume for a given wavenumber, angle and redshift
- cov(ibin, k, mu)[source]#
Function to calculate the covariance the galaxy clustering probe
- Parameters:
ibin (
int) – Index of the redshift bin for which the covariance is to be computedk (
float,numpy.ndarray) – Wavenumbermu (
float,numpy.ndarray) – The cosine of angle between the wavevector and the line-of-sight direction.
- Returns:
Covariance of the Galaxy clustering probe
- Return type:
- P_noise_21(z, k, mu, temp_dim=True, beam_term=False)[source]#
Compute the shotnoise of the 21 centimeter intensity mapping probe
- Parameters:
z (
float,numpy.ndarray) – Redshift at which the noise is to be computedk (
float,numpy.ndarray) – Wavenumbermu (
float,numpy.ndarray) – The cosine of angle between the wavevector and the line-of-sight direction.temp_dim (
bool) – If true the Temperature terms is in units of Kelvin^2beam_term (
bool) – If true will add the beam term to the computation of the power spectrum
- Returns:
Additional shotnoise of the 21 cm intensity mapping
- Return type:
- veff_II(zi, k, mu)[source]#
calculate the effective volume entering the covariance of the line intensity mapping probe
- Parameters:
zi (
float) – Redshiftzi – Redshift
k (
float,numpy.ndarray) – wave number at which the effective volume should be calculatedmu (
float,numpy.ndarray) – The cosine of angle between the wavevector and the line-of-sight direction.Returns
float – The effective volume for a given wavenumber, angle and redshift
numpy.ndarray – The effective volume for a given wavenumber, angle and redshift
- veff_Ig(zi, k, mu)[source]#
calculate the effective volume entering the covariance of the cross correlation of galaxy clustering and intensity mapping
- Parameters:
zi (
float) – Redshiftzi – Redshift
k (
float,numpy.ndarray) – wave number at which the effective volume should be calculatedmu (
float,numpy.ndarray) – The cosine of angle between the wavevector and the line-of-sight direction.Returns
float – The effective volume for a given wavenumber, angle and redshift
numpy.ndarray – The effective volume for a given wavenumber, angle and redshift