Spectrum Object¶
Defining Spectrum Class
-
class
smsyn.io.spectrum.
Spectrum
[source]¶ A light superclass on top of numpy record array that stores header information and and read and write to fits objects.
- Args:
- wav (array): wavelengths corresponding to each pixel in the
- flux array
- flux (array): continuum-normalized flux as a function of
- rest wavelength
uflux (array): relative flux uncertainty header (dict): dictionary containing metadata associated with the
observed spectrum. Similar to a header from a fits file. Required keys: object, observation