NormalizedCalibrationFluxTask#
- class lsst.meas.algorithms.NormalizedCalibrationFluxTask(schema, **kwargs)#
Bases:
TaskTask to measure the normalized calibration flux.
Parameters#
- schema
lsst.afw.table.Schema Schema for the input table; will be modified in place.
- **kwargs
dict 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#
- exposure
lsst.afw.image.Exposure Exposure the normalized calibration flux is measured on.
- catalog
lsst.afw.table.SourceCatalog SourceCatalog containing measurements to be used to compute normalized calibration fluxes. The catalog is modified in-place.
Returns#
- Struct
lsst.pipe.base.Struct Contains the following:
ap_corr_mapaperture 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
- exposure
- schema