ler.lens_galaxy_population.cross_section_interpolator
Module for interpolating gravitational-lensing cross sections.
This module provides fast Numba-compiled interpolation in a 5D parameter
space for lensing cross sections. The interpolated dimensions are ellipticity
(e1, e2), density slope (gamma), and external shear
(gamma1, gamma2). Inputs from lens parameters are mapped to this grid,
then rescaled by Einstein-radius geometry and affine calibration.
Key Features:
5D local interpolation using precomputed tensor basis weights
Zero memory allocation inside execution loops for maximum throughput
Numba JIT compilation with fused parallel loops
Direct conversion from (q, phi) to (e1, e2) before interpolation
Copyright (C) 2024 Hemantakumar Phurailatpam. Distributed under MIT License.
Module Contents
Functions
|