lsst.meas.astrom
14.0-7-g0d69b06+3
|
Match an input source catalog with objects from a reference catalog and solve for the WCS. More...
Public Member Functions | |
def | __init__ (self, refObjLoader, schema=None, kwargs) |
Construct an AstrometryTask. More... | |
def | run (self, sourceCat, exposure) |
Load reference objects, match sources and optionally fit a WCS. More... | |
def | solve (self, exposure, sourceCat) |
Load reference objects overlapping an exposure, match to sources and fit a WCS. More... | |
def | loadAndMatch (self, exposure, sourceCat) |
Load reference objects overlapping an exposure and match to sources detected on that exposure. More... | |
Public Attributes | |
usedKey | |
refObjLoader | |
Static Public Attributes | |
ConfigClass = AstrometryConfig | |
Match an input source catalog with objects from a reference catalog and solve for the WCS.
Match input sourceCat with a reference catalog and solve for the Wcs
There are three steps, each performed by different subtasks:
Construct an AstrometryTask.
[in] | refObjLoader | A reference object loader object |
[in] | schema | ignored; available for compatibility with an older astrometry task |
[in] | kwargs | additional keyword arguments for pipe_base Task.__init__ |
Load reference objects, match sources and optionally fit a WCS. This is a thin layer around solve or loadAndMatch, depending on config.forceKnownWcs
[in,out] | exposure | exposure whose WCS is to be fit The following are read only:
|
[in] | sourceCat | catalog of sources detected on the exposure (an lsst.afw.table.SourceCatalog) |
Load reference objects overlapping an exposure and match to sources detected on that exposure.
[in] | exposure | exposure that the sources overlap |
[in] | sourceCat | catalog of sources detected on the exposure (an lsst.afw.table.SourceCatalog) |
See AstrometryConfig
See pipe_tasks_photocal_Example.
The command line task interface supports a flag -d
to import debug.py from your PYTHONPATH
; see Using lsstDebug to control debugging output for more about debug.py files.
The available variables in AstrometryTask are:
display
(bool) frame
(int) To investigate the Debug variables, put something like
into your debug.py file and run this task with the –debug
flag.
Definition at line 70 of file astrometry.py.
def lsst.meas.astrom.astrometry.AstrometryTask.__init__ | ( | self, | |
refObjLoader, | |||
schema = None , |
|||
kwargs | |||
) |
Construct an AstrometryTask.
[in] | refObjLoader | A reference object loader object |
[in] | schema | ignored; available for compatibility with an older astrometry task |
[in] | kwargs | additional keyword arguments for pipe_base Task.__init__ |
Definition at line 144 of file astrometry.py.
|
inherited |
Load reference objects overlapping an exposure and match to sources detected on that exposure.
[in] | exposure | exposure that the sources overlap |
[in] | sourceCat | catalog of sources detected on the exposure (an lsst.afw.table.SourceCatalog) |
Definition at line 85 of file ref_match.py.
def lsst.meas.astrom.astrometry.AstrometryTask.run | ( | self, | |
sourceCat, | |||
exposure | |||
) |
Load reference objects, match sources and optionally fit a WCS.
This is a thin layer around solve or loadAndMatch, depending on config.forceKnownWcs
[in,out] | exposure | exposure whose WCS is to be fit The following are read only:
|
[in] | sourceCat | catalog of sources detected on the exposure (an lsst.afw.table.SourceCatalog) |
Definition at line 162 of file astrometry.py.
def lsst.meas.astrom.astrometry.AstrometryTask.solve | ( | self, | |
exposure, | |||
sourceCat | |||
) |
Load reference objects overlapping an exposure, match to sources and fit a WCS.
Definition at line 192 of file astrometry.py.
|
static |
Definition at line 141 of file astrometry.py.
|
inherited |
Definition at line 79 of file ref_match.py.
lsst.meas.astrom.astrometry.AstrometryTask.usedKey |
Definition at line 154 of file astrometry.py.