lsst.meas.astrom

Tasks and methods for finding an astrometric solution, including:

  • AstrometryTask compute an astrometric solution for a set of sources detected
    on an Exposure

Default subtasks used by AstrometryTask:

Contributing

lsst.meas.astrom is developed at https://github.com/lsst/meas_astrom. You can find Jira issues for this module under here.

Task reference

Tasks

AstrometryTask
Match an input source catalog with objects from a reference catalog and solve for the WCS.
DirectMatchTask
Simple, brute force matching of a source catalog to a reference catalog.
FitSipDistortionTask
Fit a TAN-SIP WCS given a list of reference object/source matches.
FitTanSipWcsTask
Fit a TAN-SIP WCS given a list of reference object/source matches.
MatchOptimisticBTask
Match sources to reference objects using the Optimistic Pattern Matcher B algorithm of Tabur 2007.
MatchPessimisticBTask
Match sources to reference objects.
RefMatchTask
Match an input source catalog with objects from a reference catalog.

Python API reference

lsst.meas.astrom Package

Functions

approximateWcs(wcs, bbox[, order, nx, ny, …]) Approximate an existing WCS as a TAN-SIP WCS
compose(*args, **kwargs) Overloaded function.
denormalizeMatches(matches[, matchMeta]) Generate a denormalized Catalog of matches
displayAstrometry([refCat, sourceCat, …]) Show an astrometry debug image.
makeMatchStatistics(*args, **kwargs) Overloaded function.
makeMatchStatisticsInPixels(*args, **kwargs) Overloaded function.
makeMatchStatisticsInRadians(*args, **kwargs) Overloaded function.
makeWcs(sipForward, sipReverse, skyOrigin)
plotAstrometry(matches[, refCat, sourceCat, …]) Plot reference objects, sources and matches
radec_to_xy(ra_vec, dec_vec, factor, wcs)
rotateWcsPixelsBy90(wcs, nQuarter, dimensions)
setMatchDistance(matches) Set the distance field of the matches in a match list to the distance in radians on the sky.
transformWcsPixels(wcs, s)

Classes

AstrometryConfig Config for AstrometryTask.
AstrometryTask(refObjLoader[, schema]) Match an input source catalog with objects from a reference catalog and solve for the WCS.
ConvertCatalogCoordinatesConfig Configuration for the MatchProbabilistic matcher.
DirectMatchConfig Configuration for DirectMatchTask.
DirectMatchConfigWithoutLoader Configuration for DirectMatchTask when an already-initialized refObjLoader will be passed to this task.
DirectMatchTask([butler, refObjLoader]) Simple, brute force matching of a source catalog to a reference catalog.
FitAffineWcsConfig Config for FitTanSipWcsTask.
FitAffineWcsTask(config, name, parentTask, …) Fit a TAN-SIP WCS given a list of reference object/source matches.
FitSipDistortionConfig Config for FitSipDistortionTask
FitSipDistortionTask(**kwargs) Fit a TAN-SIP WCS given a list of reference object/source matches.
FitTanSipWcsConfig Config for FitTanSipWcsTask.
FitTanSipWcsTask(config, name, parentTask, …) Fit a TAN-SIP WCS given a list of reference object/source matches.
MatchOptimisticBConfig Configuration for MatchOptimisticBTask
MatchOptimisticBTask(**kwargs) Match sources to reference objects using the Optimistic Pattern Matcher B algorithm of Tabur 2007.
MatchPessimisticBConfig Configuration for MatchPessimisticBTask
MatchPessimisticBTask(**kwargs) Match sources to reference objects.
MatchProbabilisticConfig Configuration for the MatchProbabilistic matcher.
MatchProbabilisticTask(**kwargs) Run MatchProbabilistic on a reference and target catalog covering the same tract.
MatchTolerance([maxMatchDist]) Stores match tolerances for use in lsst.meas.astrom.AstrometryTask and later iterations of the matcher.
MatchTolerancePessimistic([maxMatchDist, …]) Stores match tolerances for use in AstrometryTask and later iterations of the matcher.
MatcherProbabilistic(config) A probabilistic, greedy catalog matcher.
OutlierRejectionControl
PessimisticPatternMatcherB(reference_array, log) Class implementing a pessimistic version of Optimistic Pattern Matcher B (OPMb) from `Tabur (2007)`_, as described in `DMTN-031`_
PolynomialTransform
RefMatchConfig
RefMatchTask(refObjLoader, **kwargs) Match an input source catalog with objects from a reference catalog.
ScaledPolynomialTransform
ScaledPolynomialTransformFitter
SipForwardTransform
SipReverseTransform
TransformedSkyWcsMaker(inputSkyWcs) Convenience class for appending a shifting an input SkyWcs on sky and appending an affine transform.