MeasureApCorrTask

MeasureApCorrTask measures aperture correction for the flux fields returned by lsst.meas.base.getApCorrNameSet.

Python API summary

from lsst.meas.algorithms.measureApCorr import MeasureApCorrTask
classMeasureApCorrTask(schema, **kwargs)

Task to measure aperture correction...

attributeconfig

Access configuration fields and retargetable subtasks.

methodrun(exposure, catalog)

Measure aperture correction...

See also

See the MeasureApCorrTask API reference for complete details.

Retargetable subtasks

sourceSelector

Default
'science'
Field type

Single-selection RegistryField

Choices
'science'

lsst.meas.algorithms.sourceSelector.ScienceSourceSelectorTask

'references'

lsst.meas.algorithms.sourceSelector.ReferenceSourceSelectorTask

'objectSize'

lsst.meas.algorithms.objectSizeStarSelector.ObjectSizeStarSelectorTask

'flagged'

lsst.meas.algorithms.flaggedSourceSelector.FlaggedSourceSelectorTask

'astrometry'

lsst.meas.algorithms.astrometrySourceSelector.AstrometrySourceSelectorTask

'matcher'

lsst.meas.algorithms.matcherSourceSelector.MatcherSourceSelectorTask

'diaCatalog'

lsst.ip.diffim.diaCatalogSourceSelector.DiaCatalogSourceSelectorTask

Selector that sets the stars that aperture corrections will be measured from.

Configuration fields

allowFailure

Default
[]
Field type

str ListField

Allow these measurement algorithms to fail without an exception.

fitConfig

Data type

lsst.afw.math._chebyshevBoundedFieldConfig.ChebyshevBoundedFieldConfig

Field type

ConfigField

Configuration used in fitting the aperture correction fields.

minDegreesOfFreedom

Default
1
Field type

int RangeField

Range

[1,inf)

Minimum number of degrees of freedom (# of valid data points - # of parameters); if this is exceeded, the order of the fit is decreased (in both dimensions), and if we can’t decrease it enough, we’ll raise ValueError.

numIter

Default
4
Field type

int Field

Number of iterations for robust MAD sigma clipping.

numSigmaClip

Default
4.0
Field type

float Field

Number of robust MAD sigma to do clipping.

refFluxName

Default
'slot_CalibFlux'
Field type

str Field

Field name prefix for the flux other measurements should be aperture corrected to match

Debugging

MeasureApCorrTask has a debug dictionary containing two boolean keys:

doPause

bool; Pause to inspect the residuals plot? If False, there will be a 4 second delay to allow for inspection of the plot before closing it and moving on.

display

bool; if True display debug information