attachTransmissionCurve

lsst.ip.isr.attachTransmissionCurve(exposure, opticsTransmission=None, filterTransmission=None, sensorTransmission=None, atmosphereTransmission=None)

Attach a TransmissionCurve to an Exposure, given separate curves for different components.

Parameters:
exposurelsst.afw.image.Exposure

Exposure object to modify by attaching the product of all given TransmissionCurves in post-assembly trimmed detector coordinates. Must have a valid Detector attached that matches the detector associated with sensorTransmission.

opticsTransmissionlsst.afw.image.TransmissionCurve

A TransmissionCurve that represents the throughput of the optics, to be evaluated in focal-plane coordinates.

filterTransmissionlsst.afw.image.TransmissionCurve

A TransmissionCurve that represents the throughput of the filter itself, to be evaluated in focal-plane coordinates.

sensorTransmissionlsst.afw.image.TransmissionCurve

A TransmissionCurve that represents the throughput of the sensor itself, to be evaluated in post-assembly trimmed detector coordinates.

atmosphereTransmissionlsst.afw.image.TransmissionCurve

A TransmissionCurve that represents the throughput of the atmosphere, assumed to be spatially constant.

Returns:
combinedlsst.afw.image.TransmissionCurve

The TransmissionCurve attached to the exposure.

Notes

All TransmissionCurve arguments are optional; if none are provided, the attached TransmissionCurve will have unit transmission everywhere.