lsst.meas.astrom
14.0-7-g0d69b06+3
|
Match sources to reference objects. More...
Public Member Functions | |
def | __init__ (self, kwargs) |
def | matchObjectsToSources (self, refCat, sourceCat, wcs, refFluxField, match_tolerance=None) |
Match sources to position reference stars. More... | |
Static Public Attributes | |
ConfigClass = MatchPessimisticBConfig | |
Match sources to reference objects.
Match sources to reference objects. This is often done as a preliminary step to fitting an astrometric or photometric solution. For details about the matching algorithm see pessimistic_pattern_matcher_b_3D.py
Match sources to position reference stars.
[in] | refCat | catalog of reference objects that overlap the exposure; reads fields for:
|
[in] | sourceCat | catalog of sources found on an exposure; Please check the required fields of your specified source selector that the correct flags are present. |
[in] | wcs | estimated WCS |
[in] | refFluxField | field of refCat to use for flux |
[in] | match_tolerance | is a MatchTolerance class object or None. This this class is used to communicate state between AstrometryTask and MatcherTask. AstrometryTask will also set the MatchTolerance class variable maxMatchDist based on the scatter AstrometryTask has found after fitting for the wcs. |
parameters
To modify the tests for good sources for matching, create a new sourceSelector class in meas_algorithms and use it in the config.
using MatchPessimisticBTask
MatchPessimisticBTask is a subtask of AstrometryTask, which is called by PhotoCalTask. See meas_photocal_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 MatchPessimisticBTask are:
verbose
(bool) To investigate the Debug variables, put something like
into your debug.py file and run this task with the –debug
flag.
Definition at line 176 of file matchPessimisticB.py.
def lsst.meas.astrom.matchPessimisticB.MatchPessimisticBTask.__init__ | ( | self, | |
kwargs | |||
) |
Definition at line 250 of file matchPessimisticB.py.
def lsst.meas.astrom.matchPessimisticB.MatchPessimisticBTask.matchObjectsToSources | ( | self, | |
refCat, | |||
sourceCat, | |||
wcs, | |||
refFluxField, | |||
match_tolerance = None |
|||
) |
Match sources to position reference stars.
[in] | refCat | catalog of reference objects that overlap the exposure; reads fields for:
|
[in] | sourceCat | catalog of sources found on an exposure; Please check the required fields of your specified source selector that the correct flags are present. |
[in] | wcs | estimated WCS |
[in] | refFluxField | field of refCat to use for flux |
[in] | match_tolerance | is a MatchTolerance class object or None. This this class is used to communicate state between AstrometryTask and MatcherTask. AstrometryTask will also set the MatchTolerance class variable maxMatchDist based on the scatter AstrometryTask has found after fitting for the wcs. |
Definition at line 256 of file matchPessimisticB.py.
|
static |
Definition at line 247 of file matchPessimisticB.py.