dsf.covariance.ingredients.sigma_crit module¶
Critical-surface-density ingredients for DeltaSigma covariance calculations.
This module computes inverse comoving critical surface densities and effective source-noise conversion factors for lens-source tomographic bin pairs.
- dsf.covariance.ingredients.sigma_crit.effective_sigma_crit_squared(cosmo, *, z_lens, nz_lens, z_source, nz_source, h=None, sigma_crit_prefactor)[source]¶
Return the effective critical-surface-density squared factor.
This quantity converts source shape noise into DeltaSigma covariance units for a lens-source tomographic bin pair.
- Parameters:
cosmo (Cosmology) – CCL cosmology object.
z_lens (ndarray[tuple[Any, ...], dtype[float64]]) – Lens redshift grid.
nz_lens (ndarray[tuple[Any, ...], dtype[float64]]) – Normalized lens redshift distribution.
z_source (ndarray[tuple[Any, ...], dtype[float64]]) – Source redshift grid.
nz_source (ndarray[tuple[Any, ...], dtype[float64]]) – Normalized source redshift distribution.
h (float | None) – Dimensionless Hubble parameter. If not supplied, read from
cosmo["h"].sigma_crit_prefactor (float) – Unit-conversion prefactor defining the desired critical-surface-density convention.
- Returns:
Effective \(\Sigma_c^2\) factor for the lens-source bin pair.
- Return type:
float
- dsf.covariance.ingredients.sigma_crit.sigma_crit_inverse_comoving(cosmo, z_lens, z_source, *, h=None, sigma_crit_prefactor)[source]¶
Return the inverse comoving critical surface density for one lens redshift.
Sources behind the lens receive non-zero lensing efficiency. Sources at or in front of the lens are assigned zero contribution.
- Parameters:
cosmo (Cosmology) – CCL cosmology object.
z_lens (float) – Lens redshift.
z_source (ndarray[tuple[Any, ...], dtype[float64]]) – Source redshift grid.
h (float | None) – Dimensionless Hubble parameter. If not supplied, read from
cosmo["h"].sigma_crit_prefactor (float) – Unit-conversion prefactor defining the desired critical-surface-density convention.
- Returns:
Inverse comoving critical surface density evaluated on
z_source.- Return type:
ndarray[tuple[Any, …], dtype[float64]]
- dsf.covariance.ingredients.sigma_crit.sigma_crit_inverse_source_average(cosmo, *, z_lens, z_source, nz_source, h=None, sigma_crit_prefactor)[source]¶
Return the source-averaged inverse comoving critical surface density.
This averages the lensing efficiency for a fixed lens redshift over the source redshift distribution.
- Parameters:
cosmo (Cosmology) – CCL cosmology object.
z_lens (float) – Lens redshift.
z_source (ndarray[tuple[Any, ...], dtype[float64]]) – Source redshift grid.
nz_source (ndarray[tuple[Any, ...], dtype[float64]]) – Normalized source redshift distribution.
h (float | None) – Dimensionless Hubble parameter. If not supplied, read from
cosmo["h"].sigma_crit_prefactor (float) – Unit-conversion prefactor defining the desired critical-surface-density convention.
- Returns:
Source-averaged inverse comoving critical surface density.
- Return type:
float
- dsf.covariance.ingredients.sigma_crit.sigma_crit_squared_average(cosmo, *, z_lens, nz_lens, z_source, nz_source, h=None, sigma_crit_prefactor)[source]¶
Return the effective critical-surface-density squared factor.
This alias preserves the previous public function name.
- Parameters:
cosmo (Cosmology)
z_lens (ndarray[tuple[Any, ...], dtype[float64]])
nz_lens (ndarray[tuple[Any, ...], dtype[float64]])
z_source (ndarray[tuple[Any, ...], dtype[float64]])
nz_source (ndarray[tuple[Any, ...], dtype[float64]])
h (float | None)
sigma_crit_prefactor (float)
- Return type:
float