DataManager¶
- class lsst.ts.fiberspectrograph.DataManager(instrument, origin, serial)¶
Bases:
object
A data packager from the Fiber Spectrograph CSC.
- Attributes:
Attributes Summary
Name of the table column containing the wavelength information.
Name of the table containing the wavelength WCS (EXTNAME).
WCS table version (EXTVER).
Methods Summary
make_fits_header
(data)Return a FITS header built from SpectrographData.
make_hdulist
(data)Generate a FITS hdulist built from SpectrographData.
make_primary_hdu
(data)Return the primary HDU built from SpectrographData.
make_wavelength_hdu
(data)Return the wavelength HDU built from SpectrographData.
Attributes Documentation
- wcs_column_name = 'wavelength'¶
Name of the table column containing the wavelength information.
- wcs_table_name = 'WCS-TAB'¶
Name of the table containing the wavelength WCS (EXTNAME).
- wcs_table_ver = 1¶
WCS table version (EXTVER).
Methods Documentation
- make_fits_header(data)¶
Return a FITS header built from SpectrographData.
- make_hdulist(data)¶
Generate a FITS hdulist built from SpectrographData.
- Parameters:
- data
SpectrographData
The data from which to build the FITS hdulist.
- data
- Returns:
- hdulist
astropy.io.fits.HDUList
The FITS hdulist.
- hdulist
- make_primary_hdu(data)¶
Return the primary HDU built from SpectrographData.
- make_wavelength_hdu(data)¶
Return the wavelength HDU built from SpectrographData.