qsospec.SpectrumMetadata

class qsospec.SpectrumMetadata(wave_unit='Angstrom', flux_unit='relative', flux_scale=None, flux_frame='observed', rest_frame_conversion=<factory>, survey=None, source=None, ra=None, dec=None, galactic_extinction_corrected=False, galactic_extinction=<factory>, notes=<factory>)[source]

Bases: object

Wavelength and flux-density metadata kept outside numerical fitting.

Parameters:
__init__(wave_unit='Angstrom', flux_unit='relative', flux_scale=None, flux_frame='observed', rest_frame_conversion=<factory>, survey=None, source=None, ra=None, dec=None, galactic_extinction_corrected=False, galactic_extinction=<factory>, notes=<factory>)
Parameters:
Return type:

None

Methods

__init__([wave_unit, flux_unit, flux_scale, ...])

to_dict()

Return a JSON-friendly dictionary.

Attributes

dec

flux_frame

flux_scale

flux_unit

galactic_extinction_corrected

ra

source

survey

wave_unit

rest_frame_conversion

galactic_extinction

notes

dec: float | None = None
flux_frame: str = 'observed'
flux_scale: float | None = None
flux_unit: str = 'relative'
galactic_extinction: Dict[str, Any]
galactic_extinction_corrected: bool = False
notes: List[str]
ra: float | None = None
rest_frame_conversion: Dict[str, Any]
source: str | None = None
survey: str | None = None
to_dict()[source]

Return a JSON-friendly dictionary.

Return type:

Dict[str, Any]

wave_unit: str = 'Angstrom'