CentroidErrorLimit#
- class lsst.meas.algorithms.CentroidErrorLimit(*args, **kw)#
Bases:
BaseLimitSelect sources using a limit on the centroid errors.
This object can be used as a
lsst.pex.config.Configfor configuring the limit, and then theapplymethod can be used to identify sources in the catalog that match the configured limit.Attributes Summary
Name of the source centroid field to use.
Select objects with value less than this (
float, defaultNone)Select objects with value greater than this (
float, defaultNone)Methods Summary
apply(catalog)Apply the limit on source centroid errors to a catalog.
Subclass hook for computing defaults.
Attributes Documentation
- centroidField#
Name of the source centroid field to use. (
str, default'slot_Centroid')
- maximum#
Select objects with value less than this (
float, defaultNone)
- minimum#
Select objects with value greater than this (
float, defaultNone)
Methods Documentation
- apply(catalog)#
Apply the limit on source centroid errors to a catalog.
Parameters#
- catalog
lsst.afw.table.SourceCatalog Catalog of sources to which the limit will be applied.
Returns#
- selected
numpy.ndarray Boolean array indicating for each source whether it is selected (True means selected).
- catalog