LSSTApplications  19.0.0-10-g920eed2,19.0.0-11-g48a0200+2,19.0.0-18-gfc4e62b+11,19.0.0-2-g3b2f90d+2,19.0.0-2-gd671419+5,19.0.0-20-g5a5a17ab+9,19.0.0-21-g2644856+11,19.0.0-22-gc5dc5b1+6,19.0.0-23-gdc29a50+3,19.0.0-24-g923e380+11,19.0.0-25-g6c8df7140,19.0.0-28-g9b887e2,19.0.0-3-g2b32d65+5,19.0.0-3-g8227491+10,19.0.0-3-g9c54d0d+10,19.0.0-3-gca68e65+6,19.0.0-3-gcfc5f51+5,19.0.0-3-ge110943+9,19.0.0-3-ge74d124,19.0.0-3-gfe04aa6+11,19.0.0-4-g06f5963+5,19.0.0-4-g3d16501+11,19.0.0-4-g4a9c019+5,19.0.0-4-g5a8b323,19.0.0-4-g66397f0+1,19.0.0-4-g8278b9b+1,19.0.0-4-g8557e14,19.0.0-4-g8964aba+11,19.0.0-4-ge404a01+10,19.0.0-5-g40f3a5a,19.0.0-5-g4db63b3,19.0.0-5-gfb03ce7+11,19.0.0-6-gbaebbfb+10,19.0.0-60-gafafd468+11,19.0.0-67-g3ab1e6e,19.0.0-7-g039c0b5+9,19.0.0-7-gbea9075+4,19.0.0-7-gc567de5+11,19.0.0-8-g3a3ce09+6,19.0.0-9-g463f923+10,w.2020.21
LSSTDataManagementBasePackage
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
 
 matcher
 
 matchDistanceSigma
 
 sourceSelector
 
 referenceSelector
 

Detailed Description

Config for AstrometryTask.

Definition at line 33 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 61 of file astrometry.py.

61  def setDefaults(self):
62  # Override the default source selector for astrometry tasks
63  self.sourceFluxType = "Ap"
64 
65  self.sourceSelector.name = "matcher"
66  self.sourceSelector["matcher"].sourceFluxType = self.sourceFluxType
67 
68  # Note that if the matcher is MatchOptimisticBTask, then the
69  # default should be self.sourceSelector['matcher'].excludePixelFlags = False
70  # However, there is no way to do this automatically.
71 
72 

Member Data Documentation

◆ 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 40 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 44 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 40 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 46 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 53 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 56 of file ref_match.py.

◆ sourceFluxType

lsst.meas.astrom.astrometry.AstrometryConfig.sourceFluxType

Definition at line 63 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 52 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 36 of file astrometry.py.


The documentation for this class was generated from the following file:
pex.config.wrap.setDefaults
setDefaults
Definition: wrap.py:293