MatchPessimisticBConfig#
- class lsst.meas.astrom.MatchPessimisticBConfig(*args, **kw)#
Bases:
ConfigConfiguration for MatchPessimisticBTask
Attributes Summary
Number of softening iterations in matcher.
Maximum allowed shift of WCS, due to matching (pixel).
Maximum number of reference objects to use for the matcher.
Rotation angle allowed between sources and position reference objects (degrees).
Minimum number of matched pairs as a fraction of the smaller of the number of reference stars or the number of good sources; the actual minimum is the smaller of this value or minMatchedPairs.
Distance in units of pixels to always consider a source-reference pair a match.
Minimum number of matched pairs; see also minFracMatchedPairs.
Maximum number of bright stars to use.
Number of implied shift/rotations from patterns that must agree before it a given shift/rotation is accepted.
Number of points to define a shape for matching.
Number of points to try for creating a shape.
If the available reference objects exceeds this number, consensus/pessimistic mode will enforced regardless of the number of available sources.
Methods Summary
validate()Validate the Config, raising an exception if invalid.
Attributes Documentation
- matcherIterations#
Number of softening iterations in matcher. (
int, default5)Valid Range = [1,inf)
- maxOffsetPix#
Maximum allowed shift of WCS, due to matching (pixel). When changing this value, the LoadReferenceObjectsConfig.pixelMargin should also be updated. (
int, default250)Valid Range = [-inf,4000)
- maxRefObjects#
Maximum number of reference objects to use for the matcher. The absolute maximum allowed for is 2 ** 16 for memory reasons. (
int, default8192)Valid Range = [0,65537)
- maxRotationDeg#
Rotation angle allowed between sources and position reference objects (degrees). (
float, default1.0)Valid Range = [-inf,6.0)
- minFracMatchedPairs#
Minimum number of matched pairs as a fraction of the smaller of the number of reference stars or the number of good sources; the actual minimum is the smaller of this value or minMatchedPairs. (
float, default0.3)Valid Range = [0,1)
- minMatchDistPixels#
Distance in units of pixels to always consider a source-reference pair a match. This prevents the astrometric fitter from over-fitting and removing stars that should be matched and allows for inclusion of new matches as the wcs improves. (
float, default1.0)Valid Range = [0.0,6.0)
- minMatchedPairs#
Minimum number of matched pairs; see also minFracMatchedPairs. (
int, default30)Valid Range = [2,inf)
- numBrightStars#
Maximum number of bright stars to use. Sets the max number of patterns that can be tested. (
int, default150)Valid Range = [2,inf)
- numPatternConsensus#
Number of implied shift/rotations from patterns that must agree before it a given shift/rotation is accepted. This is only used after the first softening iteration fails and if both the number of reference and source objects is greater than numBrightStars. (
int, default3)
- numPointsForShape#
Number of points to define a shape for matching. (
int, default6)
- numPointsForShapeAttempt#
Number of points to try for creating a shape. This value should be greater than or equal to numPointsForShape. Besides loosening the signal to noise cut in the ‘matcher’ SourceSelector, increasing this number will solve CCDs where no match was found. (
int, default6)
- numRefRequireConsensus#
If the available reference objects exceeds this number, consensus/pessimistic mode will enforced regardless of the number of available sources. Below this optimistic mode (exit at first match rather than requiring numPatternConsensus to be matched) can be used. If more sources are required to match, decrease the signal to noise cut in the sourceSelector. (
int, default1000)
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.