Camera#

class lsst.afw.cameraGeom.Camera#

Bases: DetectorCollection

Attributes Summary

Methods Summary

computeMaxFocalPlaneRadius()

Compute the maximum radius on the focal plane of the corners of all detectors in this camera.

findDetectors(self, point, cameraSys)

findDetectorsList(self, pointList, cameraSys)

getFocalPlaneParity(self)

getName(self)

getPupilFactory(visitInfo, pupilSize, npix, ...)

Construct a PupilFactory.

getPupilFactoryName(self)

getTransform(self, fromSys, toSys)

getTransformMap(self)

isPersistable(self)

readFits(*args, **kwargs)

Overloaded function.

rebuild(self)

transform(*args, **kwargs)

Overloaded function.

writeFits(*args, **kwargs)

Overloaded function.

Attributes Documentation

telescopeDiameter#

Methods Documentation

computeMaxFocalPlaneRadius()#

Compute the maximum radius on the focal plane of the corners of all detectors in this camera.

Returns#

focalRadiusfloat

Maximum focal plane radius in FOCAL_PLANE units (mm).

findDetectors(self: lsst.afw.cameraGeom.Camera, point: lsst.geom.Point2D, cameraSys: lsst.afw.cameraGeom.CameraSys) list[lsst.afw.cameraGeom.Detector]#
findDetectorsList(self: lsst.afw.cameraGeom.Camera, pointList: collections.abc.Sequence[lsst.geom.Point2D], cameraSys: lsst.afw.cameraGeom.CameraSys) list[list[lsst.afw.cameraGeom.Detector]]#
getFocalPlaneParity(self: lsst.afw.cameraGeom.Camera) bool#
getName(self: lsst.afw.cameraGeom.Camera) str#
getPupilFactory(visitInfo, pupilSize, npix, **kwargs)#

Construct a PupilFactory.

Parameters#

visitInfoVisitInfo

VisitInfo object for a particular exposure.

pupilSizefloat

Size in meters of constructed Pupil array. Note that this may be larger than the actual diameter of the illuminated pupil to accommodate zero-padding.

npixint

Constructed Pupils will be npix x npix.

**kwargsdict

Other keyword arguments forwarded to the PupilFactoryClass constructor.

getPupilFactoryName(self: lsst.afw.cameraGeom.Camera) str#
getTransform(self: lsst.afw.cameraGeom.Camera, fromSys: lsst.afw.cameraGeom.CameraSys, toSys: lsst.afw.cameraGeom.CameraSys) lsst.afw.geom.TransformPoint2ToPoint2#
getTransformMap(self: lsst.afw.cameraGeom.Camera) lsst.afw.cameraGeom.TransformMap#
isPersistable(self: lsst.afw.cameraGeom.Camera) bool#
static readFits(*args, **kwargs)#

Overloaded function.

  1. readFits(fileName: str, hdu: typing.SupportsInt = -2147483648) -> lsst.afw.cameraGeom.Camera

  2. readFits(manager: lsst::afw::fits::MemFileManager, hdu: typing.SupportsInt = -2147483648) -> lsst.afw.cameraGeom.Camera

rebuild(self: lsst.afw.cameraGeom.Camera) lsst.afw.cameraGeom.Camera.Builder#
transform(*args, **kwargs)#

Overloaded function.

  1. transform(self: lsst.afw.cameraGeom.Camera, point: lsst.geom.Point2D, fromSys: lsst.afw.cameraGeom.CameraSys, toSys: lsst.afw.cameraGeom.CameraSys) -> lsst.geom.Point2D

  2. transform(self: lsst.afw.cameraGeom.Camera, points: collections.abc.Sequence[lsst.geom.Point2D], fromSys: lsst.afw.cameraGeom.CameraSys, toSys: lsst.afw.cameraGeom.CameraSys) -> list[lsst.geom.Point2D]

writeFits(*args, **kwargs)#

Overloaded function.

  1. writeFits(self: lsst.afw.cameraGeom.Camera, fileName: str, mode: str = ‘w’) -> None

  2. writeFits(self: lsst.afw.cameraGeom.Camera, manager: lsst::afw::fits::MemFileManager, mode: str = ‘w’) -> None