RefMatchTask

RefMatchTask matches a source catalog with objects from a reference catalog.

Processing summary

RefMatchTask runs this sequence of operations:

  • Find position reference stars that overlap the exposure.

  • Match input source catalog to the position reference stars.

  • Return statistics on quality of match.

Python API summary

from lsst.meas.astrom.ref_match import RefMatchTask
classRefMatchTask(refObjLoader=None, **kwargs)

Match an input source catalog with objects from a reference catalog...

attributeconfig

Access configuration fields and retargetable subtasks.

See also

See the RefMatchTask API reference for complete details.

Retargetable subtasks

matcher

Default

lsst.meas.astrom.matchPessimisticB.MatchPessimisticBTask

Field type

ConfigurableField

reference object/source matcher

referenceSelector

Default

lsst.meas.algorithms.sourceSelector.ReferenceSourceSelectorTask

Field type

ConfigurableField

How to select reference objects for cross-matching.

sourceSelector

Default
'science'
Field type

Single-selection RegistryField

Choices
'science'

lsst.meas.algorithms.sourceSelector.ScienceSourceSelectorTask

'references'

lsst.meas.algorithms.sourceSelector.ReferenceSourceSelectorTask

'null'

lsst.meas.algorithms.sourceSelector.NullSourceSelectorTask

'objectSize'

lsst.meas.algorithms.objectSizeStarSelector.ObjectSizeStarSelectorTask

'flagged'

lsst.meas.algorithms.flaggedSourceSelector.FlaggedSourceSelectorTask

'astrometry'

lsst.meas.algorithms.astrometrySourceSelector.AstrometrySourceSelectorTask

'matcher'

lsst.meas.algorithms.matcherSourceSelector.MatcherSourceSelectorTask

'diaCatalog'

lsst.ip.diffim.diaCatalogSourceSelector.DiaCatalogSourceSelectorTask

How to select sources for cross-matching.

Configuration fields

matchDistanceSigma

Default
2
Field type

float RangeField

Range

[0,inf)

the maximum match distance is set to mean_match_distance + matchDistanceSigma*std_dev_match_distance; ignored if not fitting a WCS

sourceFluxType

Default
'Calib'
Field type

str Field

Source flux type to use in source selection.