LSST Applications  21.0.0-172-gfb10e10a+18fedfabac,22.0.0+297cba6710,22.0.0+80564b0ff1,22.0.0+8d77f4f51a,22.0.0+a28f4c53b1,22.0.0+dcf3732eb2,22.0.1-1-g7d6de66+2a20fdde0d,22.0.1-1-g8e32f31+297cba6710,22.0.1-1-geca5380+7fa3b7d9b6,22.0.1-12-g44dc1dc+2a20fdde0d,22.0.1-15-g6a90155+515f58c32b,22.0.1-16-g9282f48+790f5f2caa,22.0.1-2-g92698f7+dcf3732eb2,22.0.1-2-ga9b0f51+7fa3b7d9b6,22.0.1-2-gd1925c9+bf4f0e694f,22.0.1-24-g1ad7a390+a9625a72a8,22.0.1-25-g5bf6245+3ad8ecd50b,22.0.1-25-gb120d7b+8b5510f75f,22.0.1-27-g97737f7+2a20fdde0d,22.0.1-32-gf62ce7b1+aa4237961e,22.0.1-4-g0b3f228+2a20fdde0d,22.0.1-4-g243d05b+871c1b8305,22.0.1-4-g3a563be+32dcf1063f,22.0.1-4-g44f2e3d+9e4ab0f4fa,22.0.1-42-gca6935d93+ba5e5ca3eb,22.0.1-5-g15c806e+85460ae5f3,22.0.1-5-g58711c4+611d128589,22.0.1-5-g75bb458+99c117b92f,22.0.1-6-g1c63a23+7fa3b7d9b6,22.0.1-6-g50866e6+84ff5a128b,22.0.1-6-g8d3140d+720564cf76,22.0.1-6-gd805d02+cc5644f571,22.0.1-8-ge5750ce+85460ae5f3,master-g6e05de7fdc+babf819c66,master-g99da0e417a+8d77f4f51a,w.2021.48
LSST Data Management Base Package
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
lsst.meas.astrom.astrometry.AstrometryConfig Class Reference
Inheritance diagram for lsst.meas.astrom.astrometry.AstrometryConfig:
lsst.meas.astrom.ref_match.RefMatchConfig

Public Member Functions

def setDefaults (self)
 

Public Attributes

 sourceFluxType
 

Static Public Attributes

 wcsFitter
 
 forceKnownWcs
 
 maxIter
 
 minMatchDistanceArcSec
 
 maxMeanDistanceArcsec
 
 doMagnitudeOutlierRejection
 
 magnitudeOutlierRejectionNSigma
 
 matcher
 
 matchDistanceSigma
 
 sourceSelector
 
 referenceSelector
 

Detailed Description

Config for AstrometryTask.

Definition at line 37 of file astrometry.py.

Member Function Documentation

◆ setDefaults()

def lsst.meas.astrom.astrometry.AstrometryConfig.setDefaults (   self)

Reimplemented from lsst.meas.astrom.ref_match.RefMatchConfig.

Definition at line 88 of file astrometry.py.

88  def setDefaults(self):
89  # Override the default source selector for astrometry tasks
90  self.sourceFluxType = "Ap"
91 
92  self.sourceSelector.name = "matcher"
93  self.sourceSelector["matcher"].sourceFluxType = self.sourceFluxType
94 
95  # Note that if the matcher is MatchOptimisticBTask, then the
96  # default should be self.sourceSelector['matcher'].excludePixelFlags = False
97  # However, there is no way to do this automatically.
98 
99 

Member Data Documentation

◆ doMagnitudeOutlierRejection

lsst.meas.astrom.astrometry.AstrometryConfig.doMagnitudeOutlierRejection
static
Initial value:
= pexConfig.Field(
dtype=bool,
doc=("If True then a rough zeropoint will be computed from matched sources "
"and outliers will be rejected in the iterations."),
default=False,
)

Definition at line 74 of file astrometry.py.

◆ forceKnownWcs

lsst.meas.astrom.astrometry.AstrometryConfig.forceKnownWcs
static
Initial value:
= pexConfig.Field(
dtype=bool,
doc="If True then load reference objects and match sources but do not fit a WCS; "
"this simply controls whether 'run' calls 'solve' or 'loadAndMatch'",
default=False,
)

Definition at line 44 of file astrometry.py.

◆ magnitudeOutlierRejectionNSigma

lsst.meas.astrom.astrometry.AstrometryConfig.magnitudeOutlierRejectionNSigma
static
Initial value:
= pexConfig.Field(
dtype=float,
doc=("Number of sigma (measured from the distribution) in magnitude "
"for a potential reference/source match to be rejected during "
"iteration."),
default=3.0,
)

Definition at line 80 of file astrometry.py.

◆ matchDistanceSigma

lsst.meas.astrom.ref_match.RefMatchConfig.matchDistanceSigma
staticinherited
Initial value:
= pexConfig.RangeField(
doc="the maximum match distance is set to "
" mean_match_distance + matchDistanceSigma*std_dev_match_distance; "
"ignored if not fitting a WCS",
dtype=float,
default=2,
min=0,
)

Definition at line 45 of file ref_match.py.

◆ matcher

lsst.meas.astrom.ref_match.RefMatchConfig.matcher
staticinherited
Initial value:
= pexConfig.ConfigurableField(
target=MatchPessimisticBTask,
doc="reference object/source matcher",
)

Definition at line 41 of file ref_match.py.

◆ maxIter

lsst.meas.astrom.astrometry.AstrometryConfig.maxIter
static
Initial value:
= pexConfig.RangeField(
doc="maximum number of iterations of match sources and fit WCS"
"ignored if not fitting a WCS",
dtype=int,
default=3,
min=1,
)

Definition at line 50 of file astrometry.py.

◆ maxMeanDistanceArcsec

lsst.meas.astrom.astrometry.AstrometryConfig.maxMeanDistanceArcsec
static
Initial value:
= pexConfig.RangeField(
doc="Maximum mean on-sky distance (in arcsec) between matched source and rerference "
"objects post-fit. A mean distance greater than this threshold raises a TaskError "
"and the WCS fit is considered a failure. The default is set to the maximum tolerated "
"by the external global calibration (e.g. jointcal) step for conceivable recovery. "
"Appropriate value will be dataset and workflow dependent.",
dtype=float,
default=0.5,
min=0,
)

Definition at line 64 of file astrometry.py.

◆ minMatchDistanceArcSec

lsst.meas.astrom.astrometry.AstrometryConfig.minMatchDistanceArcSec
static
Initial value:
= pexConfig.RangeField(
doc="the match distance below which further iteration is pointless (arcsec); "
"ignored if not fitting a WCS",
dtype=float,
default=0.001,
min=0,
)

Definition at line 57 of file astrometry.py.

◆ referenceSelector

lsst.meas.astrom.ref_match.RefMatchConfig.referenceSelector
staticinherited
Initial value:
= pexConfig.ConfigurableField(
target=ReferenceSourceSelectorTask,
doc="How to select reference objects for cross-matching."
)

Definition at line 57 of file ref_match.py.

◆ sourceFluxType

lsst.meas.astrom.astrometry.AstrometryConfig.sourceFluxType

Definition at line 90 of file astrometry.py.

◆ sourceSelector

lsst.meas.astrom.ref_match.RefMatchConfig.sourceSelector
staticinherited
Initial value:
= sourceSelectorRegistry.makeField(
doc="How to select sources for cross-matching.",
default="science",
)

Definition at line 53 of file ref_match.py.

◆ wcsFitter

lsst.meas.astrom.astrometry.AstrometryConfig.wcsFitter
static
Initial value:
= pexConfig.ConfigurableField(
target=FitTanSipWcsTask,
doc="WCS fitter",
)

Definition at line 40 of file astrometry.py.


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