MatchTolerancePessimistic

class lsst.meas.astrom.MatchTolerancePessimistic(maxMatchDist=None, autoMaxMatchDist=None, maxShift=None, lastMatchedPattern=None, failedPatternList=None, PPMbObj=None)

Bases: lsst.meas.astrom.MatchTolerance

Stores match tolerances for use in AstrometryTask and later iterations of the matcher.

MatchPessimisticBTask relies on several state variables to be preserved over different iterations in the AstrometryTask.matchAndFitWcs loop of AstrometryTask.

Parameters
maxMatchDistlsst.geom.Angle

Maximum distance to consider a match from the previous match/fit iteration.

autoMaxMatchDistlsst.geom.Angle

Automated estimation of the maxMatchDist from the sky statistics of the source and reference catalogs.

maxShiftlsst.geom.Angle

Maximum shift found in the previous match/fit cycle.

lastMatchedPatternint

Index of the last source pattern that was matched into the reference data.

failedPatternListlist of int

Previous matches were found to be false positives.

PPMbObjlsst.meas.astrom.PessimisticPatternMatcherB

Initialized Pessimistic pattern matcher object. Storing this prevents the need for recalculation of the searchable distances in the PPMB.