IntermediateTransmissionCurve#

class lsst.ip.isr.IntermediateTransmissionCurve(filename=None)#

Bases: IsrCalib

Definition for the TransmissionCurve format used as inputs.

Parameters#

filenamestr

Filename of a transmission curve dataset.

Methods Summary

fromTable(tableList)

Construct intermediate transmission curve from a list of input tables.

getTransmissionCurve()

setMetadata(metadata)

Store a copy of the supplied metadata with this calibration.

setTransmissionCurveRepresentation()

Construct transmission curve representation from the data that was read.

writeFits(outputFilename)

Write the transmission curve data to a file.

Methods Documentation

classmethod fromTable(tableList)#

Construct intermediate transmission curve from a list of input tables. Only the first table is used.

Parameters#

tableListlist [astropy.table.Table]

List containing input tables.

Returns#

caliblsst.ip.isr.IntermediateTransmissionCurve

The final calibration.

getTransmissionCurve()#
setMetadata(metadata)#

Store a copy of the supplied metadata with this calibration.

Parameters#

metadatalsst.daf.base.PropertyList

Metadata to associate with the calibration. Will be copied and overwrite existing metadata.

setTransmissionCurveRepresentation()#

Construct transmission curve representation from the data that was read.

Raises#

RuntimeError

This is raised if no table data exists in the calibration, if there are array length mismatches, or if the wavelength sampling for multi-amp tables differ.

writeFits(outputFilename)#

Write the transmission curve data to a file.

Parameters#

outputFilenamestr

Destination filename.

Returns#

outputFilenamestr

The output filename actually used.

Raises#

RuntimeError

Raised if no transmission curve can be created.