xlens.simulator.perturbation.zslice
Constant-shear perturbation applied per redshift slice.
Classes
Constant shear in each redshift slice. |
Module Contents
- class ShearRedshift(z_bounds, mode, g_dist='g1', shear_value=0.02, kappa_value=0.0)[source]
Bases:
objectConstant shear in each redshift slice.
The shear pattern across redshift bins is encoded as a ternary integer (
mode), where each base-3 digit maps to-shear_value,+shear_value, or0.0.- Parameters:
z_bounds (list[float]) – Redshift bin boundaries (length
nz_bins + 1).mode (int) – Ternary-encoded shear assignment (see class docstring).
g_dist ({'g1', 'g2'}) – Which shear component receives the test signal.
shear_value (float) – Absolute shear amplitude per bin.
kappa_value (float) – Constant convergence applied to all bins.