lfkit.utils.io#

I/O utilities for packaged Poggianti (1997) correction tables.

This module provides helpers to: - locate Poggianti (1997) CSV files shipped as package data - load VizieR-style CSV tables into NumPy structured arrays - list available bands and SED columns - extract validated (z, y) series for a given (band, sed)

The functions here are intentionally limited to file/resource access and table parsing.

Functions

available_from_table(tab)

Return available band labels and SED columns in a Poggianti-style table.

available_pairs(tab, *[, min_points])

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

extract_series(tab, *, band, sed[, min_points])

Extract a validated (z, y) correction curve for a band and SED.

load_kcorr_package(path)

Load a saved .npz package created by save_kcorr_package.

load_vizier_csv(path)

Load a VizieR CSV file into a NumPy structured array.

resolve_packaged_csv(name, *[, pkg])

Resolve a packaged CSV resource to a concrete filesystem path.

save_kcorr_package(pkg, path)

Save the generated package to .npz (portable, fast).