Camera

class lsst.afw.cameraGeom.Camera

Bases: DetectorCollection

Attributes Summary

telescopeDiameter

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)

get(*args, **kwargs)

Overloaded function.

getFpBBox(self)

getIdIter()

Get an iterator over detector IDs

getIdMap(self)

getName(self)

getNameIter()

Get an iterator over detector names

getNameMap(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: List[lsst.geom.Point2D], cameraSys: lsst.afw.cameraGeom.CameraSys) List[List[lsst.afw.cameraGeom.Detector]]
get(*args, **kwargs)

Overloaded function.

  1. get(self: lsst.afw.cameraGeom.DetectorCollectionDetectorBase, name: str, default: lsst.afw.cameraGeom.Detector = None) -> lsst.afw.cameraGeom.Detector

  2. get(self: lsst.afw.cameraGeom.DetectorCollectionDetectorBase, id: int, default: lsst.afw.cameraGeom.Detector = None) -> lsst.afw.cameraGeom.Detector

getFpBBox(self: lsst.afw.cameraGeom.DetectorCollection) lsst.geom.Box2D
getIdIter()

Get an iterator over detector IDs

getIdMap(self: lsst.afw.cameraGeom.DetectorCollectionDetectorBase) Dict[int, lsst.afw.cameraGeom.Detector]
getName(self: lsst.afw.cameraGeom.Camera) str
getNameIter()

Get an iterator over detector names

getNameMap(self: lsst.afw.cameraGeom.DetectorCollectionDetectorBase) Dict[str, lsst.afw.cameraGeom.Detector]
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: int = -2147483648) -> lsst.afw.cameraGeom.Camera

  2. readFits(manager: lsst::afw::fits::MemFileManager, hdu: int = -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: List[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