ModelFluxCheck

class starkit.gridkit.flux_check.ModelFluxCheck(parameters: dict, ratio: float, median_flux: float, interpretation: str, implied_radius: float | None, n_nonfinite: int = 0, min_flux: float = 0.0)[source]

Bases: object

Flux scale of one model spectrum of a grid.

ratio is the integral of the grid flux, in the unit of the label converted to erg/(s cm2 Angstrom) or erg/(s Angstrom), divided by the integral of pi * B_lambda(teff) over the same wavelengths. For luminosity density, implied_radius is the stellar radius in solar radii for which the ratio equals 4 pi R**2. A model with non-finite or negative fluxes is reported as invalid and its ratio is computed from its finite pixels only.

Attributes Summary

implied_radius

interpretation

median_flux

min_flux

n_nonfinite

parameters

ratio

Attributes Documentation

implied_radius: float | None = <dataclasses._MISSING_TYPE object>
interpretation: str = <dataclasses._MISSING_TYPE object>
median_flux: float = <dataclasses._MISSING_TYPE object>
min_flux: float = 0.0
n_nonfinite: int = 0
parameters: dict = <dataclasses._MISSING_TYPE object>
ratio: float = <dataclasses._MISSING_TYPE object>