makePixelToTanPixel#

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

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

Parameters#

bboxlsst.geom.Box2I

Detector bounding box.

orientationlsst.afw.cameraGeom.Orientation

Orientation of detector in focal plane.

focalPlaneToFieldlsst.afw.geom.TransformPoint2ToPoint2

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

pixelSizeMmlsst.geom.Extent2D

Size of the pixel in mm in X and Y.

Returns#

transformlsst.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.