xlens.simulator.perturbation.lognormal_flat
Log-normal convergence and shear field on a flat sky.
Classes
Flat-sky log-normal shear field generated from a CCL weak-lensing |
Module Contents
- class ShearLogNormalFlat(z_source, field_size_deg=5.0, npix=2048, seed=None)[source]
Flat-sky log-normal shear field generated from a CCL weak-lensing power spectrum.
The constructor computes kappa, gamma1, and gamma2 maps and builds bivariate spline interpolators so that
distort_galaxycan evaluate the lensing fields at arbitrary sky positions.- Parameters:
z_source (float) – Source redshift for the weak-lensing tracer.
field_size_deg (float, optional) – Side length of the square field in degrees.
npix (int, optional) – Number of pixels per side used for the Fourier-space generation.
seed (int or None, optional) – Random seed for reproducible field realisations.