ObjectSizeStarSelectorTask¶
ObjectSizeStarSelectorTask
selects likely stars by looking for a cluster of small objects in a size-magnitude plot.
Python API summary¶
from lsst.meas.algorithms.objectSizeStarSelector import ObjectSizeStarSelectorTask
-
class
ObjectSizeStarSelectorTask
(**kwargs) A star selector that looks for a cluster of small objects in a size-magnitude plot
...
- attributeconfig
Access configuration fields and retargetable subtasks.
-
method
run
(sourceCat, sourceSelectedField=None, matches=None, exposure=None) Select sources and return them
...
See also
See the ObjectSizeStarSelectorTask
API reference for complete details.
Retargetable subtasks¶
No subtasks.
Configuration fields¶
badFlags¶
- Default
['base_PixelFlags_flag_edge', 'base_PixelFlags_flag_interpolatedCenter', 'base_PixelFlags_flag_saturatedCenter', 'base_PixelFlags_flag_crCenter', 'base_PixelFlags_flag_bad', 'base_PixelFlags_flag_interpolated']
- Field type
List of flags which cause a source to be rejected as bad.
doFluxLimit¶
Apply flux limit to Psf Candidate selection?
doSignalToNoiseLimit¶
Apply signal-to-noise (i.e. flux/fluxErr) limit to Psf Candidate selection?
fluxMax¶
Maximum flux value for good Psf Candidates (ignored if == 0).
fluxMin¶
Minimum flux value for good Psf Candidates.
nSigmaClip¶
Keep objects within this many sigma of cluster 0’s median.
signalToNoiseMax¶
Maximum signal-to-noise for good Psf Candidates (ignored if == 0).
signalToNoiseMin¶
Minimum signal-to-noise for good Psf Candidates (value should take into consideration the detection thresholds set for the catalog of interest).
sourceFluxField¶
Name of field in Source to use for flux measurement.
widthMax¶
Maximum width to include in histogram.
widthMin¶
Minimum width to include in histogram.
widthStdAllowed¶
Standard deviation of width allowed to be interpreted as good stars.
Debugging¶
ObjectSizeStarSelectorTask has a debug dictionary with the following boolean keys:
- display
bool; if True display debug information
- displayExpsoure
bool; if True display the exposure and spatial cells
- plotMagSize
bool; if True display the magnitude-size relation using matplotlib
- dumpData
bool; if True dump data to a pickle file
More information can be found in lsstDebug
.