22 __all__ = [
"makePixelToTanPixel"]
29 """Make a Transform whose forward direction converts PIXELS to TAN_PIXELS 34 bbox : `lsst.geom.Box2I` 35 Detector bounding box. 36 orientation : `lsst.afw.cameraGeom.Orientation` 37 Orientation of detector in focal plane. 38 focalPlaneToField : `lsst.afw.geom.TransformPoint2ToPoint2` 39 A transform that converts from focal plane (mm) to field angle 40 coordinates (radians) in the forward direction. 41 pixelSizeMm : `lsst.geom.Extent2D` 42 Size of the pixel in mm in X and Y. 46 transform : `lsst.afw.geom.TransformPoint2ToPoint2` 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)
lsst::geom::AffineTransform linearizeTransform(TransformPoint2ToPoint2 const &original, lsst::geom::Point2D const &inPoint)
Approximate a Transform by its local linearization.
def makePixelToTanPixel(bbox, orientation, focalPlaneToField, pixelSizeMm)
std::shared_ptr< TransformPoint2ToPoint2 > makeTransform(lsst::geom::AffineTransform const &affine)
Wrap an lsst::geom::AffineTransform as a Transform.