ObjectSizeStarSelectorConfig#
- class lsst.meas.algorithms.ObjectSizeStarSelectorConfig(*args, **kw)#
Bases:
BaseSourceSelectorConfigAttributes Summary
List of flags which cause a source to be rejected as bad.
Apply flux limit to Psf Candidate selection? (
bool, defaultFalse)Apply signal-to-noise (i.e. flux/fluxErr) limit to Psf Candidate selection? (
bool, defaultTrue).Maximum flux value for good Psf Candidates (ignored if == 0).
Minimum flux value for good Psf Candidates.
Keep objects within this many sigma of cluster 0's median.
Maximum signal-to-noise for good Psf Candidates (ignored if == 0).
Minimum signal-to-noise for good Psf Candidates (value should take into consideration the detection thresholds set for the catalog of interest).
Name of field in Source to use for flux measurement.
Maximum width to include in histogram.
Minimum width to include in histogram.
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, defaultFalse)
- doSignalToNoiseLimit#
Apply signal-to-noise (i.e. flux/fluxErr) limit to Psf Candidate selection? (
bool, defaultTrue)
- fluxMax#
Maximum flux value for good Psf Candidates (ignored if == 0). (
float, default0.0)
- fluxMin#
Minimum flux value for good Psf Candidates. (
float, default12500.0)
- nSigmaClip#
Keep objects within this many sigma of cluster 0’s median. (
float, default2.0)
- signalToNoiseMax#
Maximum signal-to-noise for good Psf Candidates (ignored if == 0). (
float, default0.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, default50.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, default10.0)
- widthMin#
Minimum width to include in histogram. (
float, default0.9)
- widthStdAllowed#
Standard deviation of width allowed to be interpreted as good stars. (
float, default0.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
validatemethods.Complex single-field validation can be defined by deriving new Field types. For convenience, some derived
lsst.pex.config.Field-types (ConfigFieldandConfigChoiceField) are defined inlsst.pex.configthat handle recursing into subconfigs.Inter-field relationships should only be checked in derived
Configclasses after calling this method, and base validation is complete.