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
(**kwargs)ObjectSizeStarSelectorTask A star selector that looks for a cluster of small objects in a size-magnitude plot
...
- 
attribute
config Access configuration fields and retargetable subtasks.
- 
method
(sourceCat, sourceSelectedField=None, matches=None, exposure=None)run 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
 strListField
List of flags which cause a source to be rejected as bad
doSignalToNoiseLimit¶
Apply signal-to-noise (i.e. flux/fluxErr) limit to Psf Candidate selection?
fluxMax¶
specify the maximum psfFlux for good Psf Candidates (ignored if == 0)
nSigmaClip¶
Keep objects within this many sigma of cluster 0’s median
signalToNoiseMax¶
specify the maximum signal-to-noise for good Psf Candidates (ignored if == 0)
signalToNoiseMin¶
specify the minimum signal-to-noise for good Psf Candidates
sourceFluxField¶
Name of field in Source to use for flux measurement
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.