makePixelToTanPixel

lsst.afw.cameraGeom.makePixelToTanPixel(bbox, orientation, focalPlaneToField, pixelSizeMm)

Make a Transform whose forward direction converts PIXELS to TAN_PIXELS for one detector.

Parameters:
bbox : lsst.geom.Box2I

Detector bounding box.

orientation : lsst.afw.cameraGeom.Orientation

Orientation of detector in focal plane.

focalPlaneToField : lsst.afw.geom.TransformPoint2ToPoint2

A transform that converts from focal plane (mm) to field angle coordinates (radians) in the forward direction.

pixelSizeMm : lsst.geom.Extent2D

Size of the pixel in mm in X and Y.

Returns:
transform : lsst.afw.geom.TransformPoint2ToPoint2

A transform whose forward direction converts PIXELS to TAN_PIXELS.

Notes

PIXELS and TAN_PIXELS are described in the CameraGeom documentation under camera coordinate systems.