LSST Applications g0265f82a02+0e5473021a,g02d81e74bb+f5613e8b4f,g1470d8bcf6+190ad2ba91,g14a832a312+311607e4ab,g2079a07aa2+86d27d4dc4,g2305ad1205+a8e3196225,g295015adf3+b67ee847e5,g2bbee38e9b+0e5473021a,g337abbeb29+0e5473021a,g3ddfee87b4+a761f810f3,g487adcacf7+17c8fdbcbd,g50ff169b8f+96c6868917,g52b1c1532d+585e252eca,g591dd9f2cf+65b5bd823e,g5a732f18d5+53520f316c,g64a986408d+f5613e8b4f,g6c1bc301e9+51106c2951,g858d7b2824+f5613e8b4f,g8a8a8dda67+585e252eca,g99cad8db69+6729933424,g9ddcbc5298+9a081db1e4,ga1e77700b3+15fc3df1f7,ga8c6da7877+ef4e3a5875,gb0e22166c9+60f28cb32d,gb6a65358fc+0e5473021a,gba4ed39666+c2a2e4ac27,gbb8dafda3b+e9bba80f27,gc120e1dc64+eee469a5e5,gc28159a63d+0e5473021a,gcf0d15dbbd+a761f810f3,gdaeeff99f8+f9a426f77a,ge6526c86ff+d4c1d4bfef,ge79ae78c31+0e5473021a,gee10cc3b42+585e252eca,gf1cff7945b+f5613e8b4f,w.2024.16
LSST Data Management Base Package
Loading...
Searching...
No Matches
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

 setDefaults (self)
 

Public Attributes

 sourceFluxType
 

Static Public Attributes

 wcsFitter
 
 forceKnownWcs
 
 maxIter
 
 minMatchDistanceArcSec
 
 maxMeanDistanceArcsec
 
 doMagnitudeOutlierRejection
 
 magnitudeOutlierRejectionNSigma
 

Detailed Description

Config for AstrometryTask.

Definition at line 36 of file astrometry.py.

Member Function Documentation

◆ setDefaults()

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

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

Definition at line 87 of file astrometry.py.

87 def setDefaults(self):
88 # Override the default source selector for astrometry tasks
89 self.sourceFluxType = "Psf"
90 # Configured to match the deprecated "matcher" selector: isolated,
91 # SN > 40, some bad flags, valid centroids.
92 self.sourceSelector["science"].doSignalToNoise = True
93 self.sourceSelector["science"].signalToNoise.minimum = 40
94 self.sourceSelector["science"].signalToNoise.fluxField = f"slot_{self.sourceFluxType}Flux_instFlux"
95 self.sourceSelector["science"].signalToNoise.errField = f"slot_{self.sourceFluxType}Flux_instFluxErr"
96 self.sourceSelector["science"].doFlags = True
97 self.sourceSelector["science"].flags.bad = ["base_PixelFlags_flag_edge",
98 "base_PixelFlags_flag_interpolatedCenter",
99 "base_PixelFlags_flag_saturated",
100 "base_SdssCentroid_flag",
101 ]
102 self.sourceSelector["science"].doRequirePrimary = True
103 self.sourceSelector["science"].doIsolated = True
104
105

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=True,
)

Definition at line 73 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 43 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 79 of file astrometry.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 49 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 63 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 56 of file astrometry.py.

◆ sourceFluxType

lsst.meas.astrom.astrometry.AstrometryConfig.sourceFluxType

Definition at line 89 of file astrometry.py.

◆ wcsFitter

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

Definition at line 39 of file astrometry.py.


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