check_flux_scale

starkit.gridkit.flux_check.check_flux_scale(path, n_models=3, teff_column='teff')[source]

Compare the fluxes of a grid with the surface flux of a blackbody.

Reads n_models model spectra, spread from the lowest to the highest effective temperature of the grid, without loading the whole flux array.

Parameters:
pathstr or pathlib.Path

Grid file.

n_modelsint

Number of models to check.

teff_columnstr

Index column holding the effective temperature in K.

Returns:
FluxScaleCheck