DataManager

class lsst.ts.fiberspectrograph.DataManager(instrument, origin, serial)

Bases: object

A data packager from the Fiber Spectrograph CSC.

Attributes:
instrumentstr

The name of the instrument taking the data.

originstr

The name of the program that produced this data.

Attributes Summary

wcs_column_name

Name of the table column containing the wavelength information.

wcs_table_name

Name of the table containing the wavelength WCS (EXTNAME).

wcs_table_ver

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:
dataSpectrographData

The data from which to build the FITS hdulist.

Returns:
hdulistastropy.io.fits.HDUList

The FITS hdulist.

make_primary_hdu(data)

Return the primary HDU built from SpectrographData.

make_wavelength_hdu(data)

Return the wavelength HDU built from SpectrographData.