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
TransmissionCurvesin post-assembly trimmed detector coordinates. Must have a validDetectorattached that matches the detector associated with sensorTransmission.- opticsTransmission
lsst.afw.image.TransmissionCurve A
TransmissionCurvethat represents the throughput of the optics, to be evaluated in focal-plane coordinates.- filterTransmission
lsst.afw.image.TransmissionCurve A
TransmissionCurvethat represents the throughput of the filter itself, to be evaluated in focal-plane coordinates.- sensorTransmission
lsst.afw.image.TransmissionCurve A
TransmissionCurvethat represents the throughput of the sensor itself, to be evaluated in post-assembly trimmed detector coordinates.- atmosphereTransmission
lsst.afw.image.TransmissionCurve A
TransmissionCurvethat represents the throughput of the atmosphere, assumed to be spatially constant.
- exposure
- Returns:
- combined
lsst.afw.image.TransmissionCurve The TransmissionCurve attached to the exposure.
- combined
Notes
All
TransmissionCurvearguments are optional; if none are provided, the attachedTransmissionCurvewill have unit transmission everywhere.