lfkit.corrections.poggianti1997#

Poggianti (1997) k- and e-correction tables and interpolators.

Loads Poggianti (1997) k- and e-correction curves from CSV tables, builds interpolators for those curves (PCHIP, Akima, or linear), and optionally remaps the e-correction redshift grid to a target cosmology by matching lookback time.

Table I/O and parsing live in lfkit.utils.io. Interpolation utilities live in lfkit.utils.interpolation. Unit conversions live in lfkit.utils.units.

Functions

available_pairs(tab, *[, min_points])

List usable (band -> SEDs) pairs in a Poggianti-style table.

describe_poggianti1997_available(*[, ...])

Summarize available bands and SED columns in Poggianti CSV tables.

extract_sed_spectrum(sed_tab, sed_col)

Extract a Poggianti sed.csv column as (wave_A, flux) in rest frame.

load_poggianti1997_tables(*[, band, sed, ...])

Load Poggianti (1997) k- and e-correction curves for a band and SED.

make_ecorr_interpolator(z_e, ecorr, *, ...)

Create an interpolator for a Poggianti e-correction curve.

make_kcorr_interpolator(z_k, kcorr, *[, ...])

Create an interpolator for a Poggianti k-correction curve.

poggianti1997_lookback_time_gyr(z)

Return lookback time in the Poggianti (1997) cosmology.

poggianti1997_time_since_bb_gyr(z)

Return cosmic time since the Big Bang in the Poggianti (1997) cosmology.

poggianti1997_to_accelerating_redshift(...)

Map Poggianti (1997) redshifts to a target cosmology via lookback time.

z_from_lookback_time(cosmo_obj, t_lb_gyr, *)

Invert lookback time to redshift using a precomputed interpolation grid.