Function lsst::meas::algorithms::makeCoaddTransmissionCurve

Function Documentation

std::shared_ptr<afw::image::TransmissionCurve const> lsst::meas::algorithms::makeCoaddTransmissionCurve(std::shared_ptr<afw::geom::SkyWcs const> coaddWcs, afw::table::ExposureCatalog const &inputSensors)

Create a TransmissionCurve that represents the effective throughput on a coadd.

Return

a new TransmissionCurve object.

Parameters
  • [in] coaddWcs: WCS that relates the coadd coordinate system to the sky.

  • [in] inputSensors: A catalog containing the WCSs, bounding boxes and polygons, coaddition weights (in a field called ‘weight’), and TransmissionCurves of the sensor-level images that went into the coadd.

Exceptions
  • NotFoundError: Thrown if the ‘weight’ field does not exist in the schema.

  • InvalidParameterError: Thrown if one or more inputs do not have a TransmissionCurve or a Wcs (ValidPolygons may be null to indicate no spatial restrictions other than the bounding box).