LSST Applications g0265f82a02+0e5473021a,g02d81e74bb+bd2ed33bd6,g1470d8bcf6+de7501a2e0,g14a832a312+ff425fae3c,g2079a07aa2+86d27d4dc4,g2305ad1205+91a32aca49,g295015adf3+762506a1ad,g2bbee38e9b+0e5473021a,g337abbeb29+0e5473021a,g3ddfee87b4+c34e8be1fa,g487adcacf7+5fae3daba8,g50ff169b8f+96c6868917,g52b1c1532d+585e252eca,g591dd9f2cf+ea1711114f,g5a732f18d5+53520f316c,g64a986408d+bd2ed33bd6,g858d7b2824+bd2ed33bd6,g8a8a8dda67+585e252eca,g99cad8db69+016a06b37a,g9ddcbc5298+9a081db1e4,ga1e77700b3+15fc3df1f7,ga8c6da7877+ef4e3a5875,gb0e22166c9+60f28cb32d,gb6a65358fc+0e5473021a,gba4ed39666+c2a2e4ac27,gbb8dafda3b+09e12c87ab,gc120e1dc64+bc2e06c061,gc28159a63d+0e5473021a,gcf0d15dbbd+c34e8be1fa,gdaeeff99f8+f9a426f77a,ge6526c86ff+508d0e0a30,ge79ae78c31+0e5473021a,gee10cc3b42+585e252eca,gf18bd8381d+8d59551888,gf1cff7945b+bd2ed33bd6,w.2024.16
LSST Data Management Base Package
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
lsst.meas.astrom.matchPessimisticB.MatchPessimisticBConfig Class Reference
Inheritance diagram for lsst.meas.astrom.matchPessimisticB.MatchPessimisticBConfig:

Public Member Functions

 validate (self)
 

Static Public Attributes

 numBrightStars
 
 minMatchedPairs
 
 minFracMatchedPairs
 
 matcherIterations
 
 maxOffsetPix
 
 maxRotationDeg
 
 numPointsForShape
 
 numPointsForShapeAttempt
 
 minMatchDistPixels
 
 numPatternConsensus
 
 numRefRequireConsensus
 
 maxRefObjects
 

Detailed Description

Configuration for MatchPessimisticBTask

Definition at line 81 of file matchPessimisticB.py.

Member Function Documentation

◆ validate()

lsst.meas.astrom.matchPessimisticB.MatchPessimisticBConfig.validate ( self)

Definition at line 179 of file matchPessimisticB.py.

179 def validate(self):
180 pexConfig.Config.validate(self)
181 if self.numPointsForShapeAttempt < self.numPointsForShape:
182 raise ValueError("numPointsForShapeAttempt must be greater than "
183 "or equal to numPointsForShape.")
184 if self.numPointsForShape > self.numBrightStars:
185 raise ValueError("numBrightStars must be greater than "
186 "numPointsForShape.")
187
188
189# The following block adds links to this task from the Task Documentation page.
190# \addtogroup LSST_task_documentation
191# \{
192# \page measAstrom_MatchPessimisticBTask
193# \ref MatchPessimisticBTask "MatchPessimisticBTask"
194# Match sources to reference objects
195# \}
196
197

Member Data Documentation

◆ matcherIterations

lsst.meas.astrom.matchPessimisticB.MatchPessimisticBConfig.matcherIterations
static
Initial value:
= pexConfig.RangeField(
doc="Number of softening iterations in matcher.",
dtype=int,
default=5,
min=1,
)

Definition at line 107 of file matchPessimisticB.py.

◆ maxOffsetPix

lsst.meas.astrom.matchPessimisticB.MatchPessimisticBConfig.maxOffsetPix
static
Initial value:
= pexConfig.RangeField(
doc="Maximum allowed shift of WCS, due to matching (pixel). "
"When changing this value, the "
"LoadReferenceObjectsConfig.pixelMargin should also be updated.",
dtype=int,
default=250,
max=4000,
)

Definition at line 113 of file matchPessimisticB.py.

◆ maxRefObjects

lsst.meas.astrom.matchPessimisticB.MatchPessimisticBConfig.maxRefObjects
static
Initial value:
= pexConfig.RangeField(
doc="Maximum number of reference objects to use for the matcher. The "
"absolute maximum allowed for is 2 ** 16 for memory reasons.",
dtype=int,
default=2**16,
min=0,
max=2**16 + 1,
)

Definition at line 170 of file matchPessimisticB.py.

◆ maxRotationDeg

lsst.meas.astrom.matchPessimisticB.MatchPessimisticBConfig.maxRotationDeg
static
Initial value:
= pexConfig.RangeField(
doc="Rotation angle allowed between sources and position reference "
"objects (degrees).",
dtype=float,
default=1.0,
max=6.0,
)

Definition at line 121 of file matchPessimisticB.py.

◆ minFracMatchedPairs

lsst.meas.astrom.matchPessimisticB.MatchPessimisticBConfig.minFracMatchedPairs
static
Initial value:
= pexConfig.RangeField(
doc="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.",
dtype=float,
default=0.3,
min=0,
max=1,
)

Definition at line 97 of file matchPessimisticB.py.

◆ minMatchDistPixels

lsst.meas.astrom.matchPessimisticB.MatchPessimisticBConfig.minMatchDistPixels
static
Initial value:
= pexConfig.RangeField(
doc="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.",
dtype=float,
default=1.0,
min=0.0,
max=6.0,
)

Definition at line 141 of file matchPessimisticB.py.

◆ minMatchedPairs

lsst.meas.astrom.matchPessimisticB.MatchPessimisticBConfig.minMatchedPairs
static
Initial value:
= pexConfig.RangeField(
doc="Minimum number of matched pairs; see also minFracMatchedPairs.",
dtype=int,
default=30,
min=2,
)

Definition at line 91 of file matchPessimisticB.py.

◆ numBrightStars

lsst.meas.astrom.matchPessimisticB.MatchPessimisticBConfig.numBrightStars
static
Initial value:
= pexConfig.RangeField(
doc="Maximum number of bright stars to use. Sets the max number of patterns "
"that can be tested.",
dtype=int,
default=150,
min=2,
)

Definition at line 84 of file matchPessimisticB.py.

◆ numPatternConsensus

lsst.meas.astrom.matchPessimisticB.MatchPessimisticBConfig.numPatternConsensus
static
Initial value:
= pexConfig.Field(
doc="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.",
dtype=int,
default=3,
)

Definition at line 151 of file matchPessimisticB.py.

◆ numPointsForShape

lsst.meas.astrom.matchPessimisticB.MatchPessimisticBConfig.numPointsForShape
static
Initial value:
= pexConfig.Field(
doc="Number of points to define a shape for matching.",
dtype=int,
default=6,
)

Definition at line 128 of file matchPessimisticB.py.

◆ numPointsForShapeAttempt

lsst.meas.astrom.matchPessimisticB.MatchPessimisticBConfig.numPointsForShapeAttempt
static
Initial value:
= pexConfig.Field(
doc="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.",
dtype=int,
default=6,
)

Definition at line 133 of file matchPessimisticB.py.

◆ numRefRequireConsensus

lsst.meas.astrom.matchPessimisticB.MatchPessimisticBConfig.numRefRequireConsensus
static
Initial value:
= pexConfig.Field(
doc="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.",
dtype=int,
default=1000,
)

Definition at line 160 of file matchPessimisticB.py.


The documentation for this class was generated from the following file: