pyccl.nl_pt.tracers module
- pyccl.nl_pt.tracers.translate_IA_norm(cosmo, *, z, a1=1.0, a1delta=None, a2=None, Om_m2_for_c2=False, Om_m_fid=0.3)[source]
Function to convert from \(A_{ia}\) values to \(c_{ia}\) values, for the intrinsic alignment bias parameters using the standard convention of Blazek et al. 2019 or the variant used by the Dark Energy Survey analysis.
- Parameters:
cosmo (
Cosmology
) – cosmology object.z (
float
or array) – z value(s) where amplitude is evaluated.a1 (
float
or array) – IA \(A_1\) at input z values.a1delta (
float
or array) – IA \(A_{1\delta}\) at input z values.a2 (
float
or array) – IA \(A_2\) at input z values.Om_m2_for_c2 (
bool
) – True to use the Blazek et al. 2019 convention of \(\Omega_m^2\) scaling.Om_m_fid (
float
) – Value for Blazek et al. 2019 scaling.
- Returns:
Tuple of IA bias parameters
- class pyccl.nl_pt.tracers.PTTracer(self)[source]
Bases:
CCLAutoRepr
PTTracers contain the information necessary to describe the perturbative, non-linear inhomogeneities associated with different physical quantities.
In essence their main function is to store a set of redshift-dependent functions (e.g. perturbation theory biases) needed in a perturbation theory framework to provide N-point correlations.
- abstract property type
String defining tracer type (
'M'
,'NC'
and'IA'
supported).
- class pyccl.nl_pt.tracers.PTMatterTracer(self)[source]
Bases:
PTTracer
PTTracer
representing matter fluctuations.- type = 'M'
- class pyccl.nl_pt.tracers.PTNumberCountsTracer(self, b1, b2=None, bs=None, b3nl=None, bk2=None)[source]
Bases:
PTTracer
PTTracer
representing number count fluctuations. This is described by 1st and 2nd-order biases and a tidal field bias. These are provided as floating point numbers or tuples of (reshift,bias) arrays. If a number is provided, a constant bias is assumed. IfNone
, a bias of zero is assumed.- Parameters:
- type = 'NC'
- property b1
Internal first-order bias function.
- property b2
Internal second-order bias function.
- property bs
Internal tidal bias function.
- property b3nl
Internal third-order bias function.
- property bk2
Internal non-local bias function.
- class pyccl.nl_pt.tracers.PTIntrinsicAlignmentTracer(self, c1, c2=None, cdelta=None)[source]
Bases:
PTTracer
PTTracer
representing intrinsic alignments. This is described by 1st and 2nd-order alignment biases and an overdensity bias. These are provided as floating point numbers or tuples of (reshift,bias) arrays. If a number is provided, a constant bias is assumed. IfNone
, a bias of zero is assumed.- Parameters:
- type = 'IA'
- property c1
Internal first-order bias function.
- property c2
Internal second-order bias function.
- property cdelta
Internal overdensity bias function.