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
MeasureApCorrTask
(schema, **kwargs) Task to measure aperture correction
...
- attributeconfig
Access configuration fields and retargetable subtasks.
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¶
Allow these measurement algorithms to fail without an exception.
fitConfig¶
- Data type
lsst.afw.math._chebyshevBoundedFieldConfig.ChebyshevBoundedFieldConfig
- Field type
Configuration used in fitting the aperture correction fields.
minDegreesOfFreedom¶
- Default
1
- Field type
- 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¶
Number of iterations for robust MAD sigma clipping.
numSigmaClip¶
Number of robust MAD sigma to do clipping.
refFluxName¶
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