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
-
class
(schema, **kwds)MeasureApCorrTask
Task to measure aperture correction
...
-
attribute
config
Access configuration fields and retargetable subtasks.
See also
See the MeasureApCorrTask
API reference for complete details.
Retargetable subtasks¶
sourceSelector¶
- Default
'flagged'
- 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¶
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.
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