makeFocalPlaneWcs

lsst.afw.cameraGeom.utils.makeFocalPlaneWcs(pixelSize, referencePixel)

Make a WCS for the focal plane geometry (i.e. one that returns positions in “mm”)

Parameters:
pixelSize : float

Size of the image pixels in physical units

referencePixel : lsst.geom.Point2D

Pixel for origin of WCS

Returns:
lsst.afw.geom.Wcs

Wcs object for mapping between pixels and focal plane.