lsst.meas.algorithms
20.0.0-3-gbdbfa727+4
|
Task to measure aperture correction. More...
Public Member Functions | |
def | __init__ (self, schema, **kwds) |
Construct a MeasureApCorrTask. More... | |
def | run (self, exposure, catalog) |
Measure aperture correction. More... | |
Public Attributes | |
refFluxKeys | |
toCorrect | |
Static Public Attributes | |
ConfigClass = MeasureApCorrConfig | |
Task to measure aperture correction.
Task to measure aperture correction.
This task measures aperture correction for the flux fields returned by lsst.meas.base.getApCorrNameSet()
The main method is run.
The command line task interface supports a flag --debug
to import debug.py
from your $PYTHONPATH
; see Using lsstDebug to control debugging output for more about debug.py
.
MeasureApCorrTask has a debug dictionary containing a single boolean key:
For example, put something like:
into your debug.py
file and run your command-line task with the --debug
flag (or import debug
).
Definition at line 114 of file measureApCorr.py.
def lsst.meas.algorithms.measureApCorr.MeasureApCorrTask.__init__ | ( | self, | |
schema, | |||
** | kwds | ||
) |
Construct a MeasureApCorrTask.
For every name in lsst.meas.base.getApCorrNameSet():
Definition at line 168 of file measureApCorr.py.
def lsst.meas.algorithms.measureApCorr.MeasureApCorrTask.run | ( | self, | |
exposure, | |||
catalog | |||
) |
Measure aperture correction.
[in] | exposure | Exposure aperture corrections are being measured on. The bounding box is retrieved from it, and it is passed to the sourceSelector. The output aperture correction map is not added to the exposure; this is left to the caller. |
[in] | catalog | SourceCatalog containing measurements to be used to compute aperturecorrections. |
Definition at line 188 of file measureApCorr.py.
|
static |
Definition at line 165 of file measureApCorr.py.
lsst.meas.algorithms.measureApCorr.MeasureApCorrTask.refFluxKeys |
Definition at line 178 of file measureApCorr.py.
lsst.meas.algorithms.measureApCorr.MeasureApCorrTask.toCorrect |
Definition at line 179 of file measureApCorr.py.