NormalizedCalibrationFluxTask#

class lsst.meas.algorithms.NormalizedCalibrationFluxTask(schema, **kwargs)#

Bases: Task

Task to measure the normalized calibration flux.

Parameters#

schemalsst.afw.table.Schema

Schema for the input table; will be modified in place.

**kwargsdict

Additional kwargs to pass to lsst.pipe.base.Task.__init__()

Raises#

NormalizedCalibrationFluxError

Raised if there are not enough sources to calculate normalization.

Methods Summary

run(*, exposure, catalog)

Measure the Normalized calibration flux.

Methods Documentation

run(*, exposure, catalog)#

Measure the Normalized calibration flux.

Parameters#

exposurelsst.afw.image.Exposure

Exposure the normalized calibration flux is measured on.

cataloglsst.afw.table.SourceCatalog

SourceCatalog containing measurements to be used to compute normalized calibration fluxes. The catalog is modified in-place.

Returns#

Structlsst.pipe.base.Struct

Contains the following:

ap_corr_map

aperture correction map (lsst.afw.image.ApCorrMap) that contains two entries for the raw flux field: - flux field (e.g. config.{raw_calibflux_name}_instFlux): 2d model - flux sigma field (e.g. config.{raw_calibflux_name}_instFluxErr): 0 field