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: - exposure :
lsst.afw.image.Exposure
Exposure object to modify by attaching the product of all given
TransmissionCurves
in post-assembly trimmed detector coordinates. Must have a validDetector
attached that matches the detector associated with sensorTransmission.- opticsTransmission :
lsst.afw.image.TransmissionCurve
A
TransmissionCurve
that represents the throughput of the optics, to be evaluated in focal-plane coordinates.- filterTransmission :
lsst.afw.image.TransmissionCurve
A
TransmissionCurve
that represents the throughput of the filter itself, to be evaluated in focal-plane coordinates.- sensorTransmission :
lsst.afw.image.TransmissionCurve
A
TransmissionCurve
that represents the throughput of the sensor itself, to be evaluated in post-assembly trimmed detector coordinates.- atmosphereTransmission :
lsst.afw.image.TransmissionCurve
A
TransmissionCurve
that represents the throughput of the atmosphere, assumed to be spatially constant.
Returns: - combined :
lsst.afw.image.TransmissionCurve
The TransmissionCurve attached to the exposure.
Notes
All
TransmissionCurve
arguments are optional; if none are provided, the attachedTransmissionCurve
will have unit transmission everywhere.- exposure :