ObjectSizeStarSelectorConfig#

class lsst.meas.algorithms.ObjectSizeStarSelectorConfig(*args, **kw)#

Bases: BaseSourceSelectorConfig

Attributes Summary

badFlags

List of flags which cause a source to be rejected as bad.

doFluxLimit

Apply flux limit to Psf Candidate selection? (bool, default False)

doSignalToNoiseLimit

Apply signal-to-noise (i.e. flux/fluxErr) limit to Psf Candidate selection? (bool, default True).

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.

Methods Summary

validate()

Validate the Config, raising an exception if invalid.

Attributes Documentation

badFlags#

List of flags which cause a source to be rejected as bad. (List, default ['base_PixelFlags_flag_edge', 'base_PixelFlags_flag_nodata', 'base_PixelFlags_flag_interpolatedCenter', 'base_PixelFlags_flag_saturatedCenter', 'base_PixelFlags_flag_crCenter', 'base_PixelFlags_flag_bad', 'base_PixelFlags_flag_interpolated', 'slot_Centroid_flag'])

doFluxLimit#

Apply flux limit to Psf Candidate selection? (bool, default False)

doSignalToNoiseLimit#

Apply signal-to-noise (i.e. flux/fluxErr) limit to Psf Candidate selection? (bool, default True)

fluxMax#

Maximum flux value for good Psf Candidates (ignored if == 0). (float, default 0.0)

fluxMin#

Minimum flux value for good Psf Candidates. (float, default 12500.0)

nSigmaClip#

Keep objects within this many sigma of cluster 0’s median. (float, default 2.0)

signalToNoiseMax#

Maximum signal-to-noise for good Psf Candidates (ignored if == 0). (float, default 0.0)

signalToNoiseMin#

Minimum signal-to-noise for good Psf Candidates (value should take into consideration the detection thresholds set for the catalog of interest). (float, default 50.0)

sourceFluxField#

Name of field in Source to use for flux measurement. (str, default 'base_PsfFlux_instFlux')

widthMax#

Maximum width to include in histogram. (float, default 10.0)

widthMin#

Minimum width to include in histogram. (float, default 0.9)

widthStdAllowed#

Standard deviation of width allowed to be interpreted as good stars. (float, default 0.15)

Methods Documentation

validate()#

Validate the Config, raising an exception if invalid.

Raises#

lsst.pex.config.FieldValidationError

Raised if verification fails.

Notes#

The base class implementation performs type checks on all fields by calling their validate methods.

Complex single-field validation can be defined by deriving new Field types. For convenience, some derived lsst.pex.config.Field-types (ConfigField and ConfigChoiceField) are defined in lsst.pex.config that handle recursing into subconfigs.

Inter-field relationships should only be checked in derived Config classes after calling this method, and base validation is complete.