22__all__ = [
"makePixelToTanPixel"]
29 """Make a Transform whose forward direction converts PIXELS to TAN_PIXELS
35 Detector bounding box.
37 Orientation of detector
in focal plane.
39 A transform that converts
from focal plane (mm) to field angle
40 coordinates (radians)
in the forward direction.
42 Size of the pixel
in mm
in X
and Y.
47 A transform whose forward direction converts PIXELS to TAN_PIXELS.
51 PIXELS
and TAN_PIXELS are described
in the CameraGeom documentation under
52 :ref:`camera coordinate systems<section_Camera_Coordinate_Systems>`.
54 pixelToFocalPlane = orientation.makePixelFpTransform(pixelSizeMm)
55 pixelToField = pixelToFocalPlane.then(focalPlaneToField)
66 return pixelToField.then(fieldToTanPix)
Describe a detector's orientation in the focal plane.
def makePixelToTanPixel(bbox, orientation, focalPlaneToField, pixelSizeMm)
std::shared_ptr< TransformPoint2ToPoint2 > makeTransform(lsst::geom::AffineTransform const &affine)
Wrap an lsst::geom::AffineTransform as a Transform.
lsst::geom::AffineTransform linearizeTransform(TransformPoint2ToPoint2 const &original, lsst::geom::Point2D const &inPoint)
Approximate a Transform by its local linearization.