lfkit.luminosity_functions.integrals#
Luminosity-function integration utilities.
This module provides generic numerical integrals of luminosity function callables over finite absolute magnitude ranges.
The core API accepts a luminosity function callable with signature
lf(absolute_mag, z)
where absolute_mag and z are NumPy arrays that can be broadcast
together. This keeps the integration machinery independent of any specific
luminosity function parameterization, catalog selection, or cosmology backend.
The helper _bind_lf converts model functions with fixed parameters into
this common callable form. Static luminosity functions that do not depend on
redshift can be wrapped with _bind_static_lf.
These helpers are intentionally generic. Catalog completeness, LF-dependent redshift densities, luminosity-density calculations, selection fractions, and selection-weighted integrals can all call this module instead of duplicating magnitude-grid logic.
Functions
|
Return cumulative LF number density around a magnitude threshold. |
|
Return the cumulative LF selection fraction around a threshold. |
|
Return luminosity density from a luminosity function. |
|
Return finite-range number density from a luminosity function. |
|
Return a weighted luminosity function integral. |
|
Return relative luminosity weights for absolute magnitudes. |
|
Return LF number density inside a magnitude-selection window. |
|
Return mean luminosity over a finite magnitude range. |
|
Return the fraction of LF number density inside a selected window. |
|
Return number density weighted by a selection function. |