LSSTApplications
10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
|
Match sources to reference objects. More...
Public Member Functions | |
def | filterStars |
def | matchObjectsToSources |
Match sources to position reference stars. More... | |
Static Public Attributes | |
ConfigClass = MatchOptimisticBConfig | |
SourceInfoClass = SourceInfo | |
Private Member Functions | |
def | _doMatch |
Implementation of matching sources to position reference stars. More... | |
Static Private Attributes | |
string | _DefaultName = "matchObjectsToSources" |
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 matchOptimisticB.h
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; reads fields for:
|
[in] | wcs | estimated WCS |
[in] | refFluxField | field of refCat to use for flux |
[in] | maxMatchDist | maximum on-sky distance between reference objects and sources (an lsst.afw.geom.Angle); if specified then the smaller of config.maxMatchDistArcSec or maxMatchDist is used; if None then config.maxMatchDistArcSec is used |
To modify the tests for usable sources and good sources, subclass SourceInfo and set MatchOptimisticBTask.SourceInfoClass to your subclass.
MatchOptimisticBTask 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 MatchOptimisticBTask 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 153 of file matchOptimisticB.py.
|
private |
Implementation of matching sources to position reference stars.
Unlike matchObjectsToSources, this method does not check if the sources are suitable.
[in] | refCat | catalog of position reference stars that overlap an exposure |
[in] | sourceCat | catalog of sources found on the exposure |
[in] | wcs | estimated WCS of exposure |
[in] | refFluxField | field of refCat to use for flux |
[in] | numUsableSources | number of usable sources (sources with known centroid that are not near the edge, but may be saturated) |
[in] | minMatchedPairs | minimum number of matches |
[in] | maxMatchDist | maximum on-sky distance between reference objects and sources (an lsst.afw.geom.Angle); if specified then the smaller of config.maxMatchDistArcSec or maxMatchDist is used; if None then config.maxMatchDistArcSec is used |
[in] | sourceInfo | SourceInfo for the sourceCat |
[in] | verbose | true to print diagnostic information to std::cout |
Definition at line 319 of file matchOptimisticB.py.
def lsst.meas.astrom.matchOptimisticB.MatchOptimisticBTask.filterStars | ( | self, | |
refCat | |||
) |
Extra filtering pass; subclass if desired
Definition at line 222 of file matchOptimisticB.py.
def lsst.meas.astrom.matchOptimisticB.MatchOptimisticBTask.matchObjectsToSources | ( | self, | |
refCat, | |||
sourceCat, | |||
wcs, | |||
refFluxField, | |||
maxMatchDist = 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; reads fields for:
|
[in] | wcs | estimated WCS |
[in] | refFluxField | field of refCat to use for flux |
[in] | maxMatchDist | maximum on-sky distance between reference objects and sources (an lsst.afw.geom.Angle); if specified then the smaller of config.maxMatchDistArcSec or maxMatchDist is used; if None then config.maxMatchDistArcSec is used |
Definition at line 228 of file matchOptimisticB.py.
|
staticprivate |
Definition at line 219 of file matchOptimisticB.py.
|
static |
Definition at line 218 of file matchOptimisticB.py.
|
static |
Definition at line 220 of file matchOptimisticB.py.