getPatchCorners#

lsst.analysis.tools.getPatchCorners(tractInfo, patchId)#

Calculate the corners of a patch, given tractInfo.

Parameters#

tractInfolsst.skymap.tractInfo.ExplicitTractInfo

Tract info object of the tract containing the patch whose corner coordinates are returned.

patchIdint

Identification number of the patch whose corner coordinates are returned.

Returns#

corners : list of tuples of float

Notes#

Corners are returned in degrees and are wrapped in ra.