plotAstrometry

lsst.meas.astrom.plotAstrometry(matches, refCat=None, sourceCat=None, refMarker='x', refColor='r', sourceMarker='+', sourceColor='g', matchColor='y')

Plot reference objects, sources and matches

Parameters:
matcheslist of lsst.afw.table.ReferenceMatch

list of matches

refCatlsst.afw.table.SimpleCatalog

reference object catalog, or None to not plot reference objects

sourceCatlsst.afw.table.SourceCatalog

source catalog, or None to not plot sources

refMarkerstr

pyplot marker for reference objects

refColorstr

pyplot color for reference objects

sourceMarkerstr

pyplot marker for sources

sourceColorstr

pyplot color for sources

matchColorstr

color for matches; can be a constant or a function taking one match and returning a string

Notes

By default:

  • reference objects in refCat are shown as red X

  • sources in sourceCat are shown as green +

  • matches are shown as a yellow circle around the source and a line connecting the reference object to the source