Camera

class lsst.afw.cameraGeom.Camera

Bases: lsst.afw.cameraGeom.DetectorCollection

Attributes Summary

telescopeDiameter

Methods Summary

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.
transform(*args, **kwargs) Overloaded function.
writeFits(*args, **kwargs) Overloaded function.

Attributes Documentation

telescopeDiameter

Methods Documentation

findDetectors(self: lsst.afw.cameraGeom.camera.camera.Camera, point: lsst.geom.Point2D, cameraSys: lsst.afw.cameraGeom.cameraSys.CameraSys) → List[lsst.afw.cameraGeom.detector.detector.Detector]
findDetectorsList(self: lsst.afw.cameraGeom.camera.camera.Camera, pointList: List[lsst.geom.Point2D], cameraSys: lsst.afw.cameraGeom.cameraSys.CameraSys) → List[List[lsst.afw.cameraGeom.detector.detector.Detector]]
get(*args, **kwargs)

Overloaded function.

  1. get(self: lsst.afw.cameraGeom.detectorCollection.detectorCollection.DetectorCollection, name: str, default: lsst.afw.cameraGeom.detector.detector.Detector=None) -> lsst.afw.cameraGeom.detector.detector.Detector
  2. get(self: lsst.afw.cameraGeom.detectorCollection.detectorCollection.DetectorCollection, id: int, default: lsst.afw.cameraGeom.detector.detector.Detector=None) -> lsst.afw.cameraGeom.detector.detector.Detector
getFpBBox(self: lsst.afw.cameraGeom.detectorCollection.detectorCollection.DetectorCollection) → lsst.geom.Box2D
getIdIter()

Get an iterator over detector IDs

getIdMap(self: lsst.afw.cameraGeom.detectorCollection.detectorCollection.DetectorCollection) → Dict[int, lsst.afw.cameraGeom.detector.detector.Detector]
getName(self: lsst.afw.cameraGeom.camera.camera.Camera) → str
getNameIter()

Get an iterator over detector names

getNameMap(self: lsst.afw.cameraGeom.detectorCollection.detectorCollection.DetectorCollection) → Dict[str, lsst.afw.cameraGeom.detector.detector.Detector]
getPupilFactory(visitInfo, pupilSize, npix, **kwargs)

Construct a PupilFactory.

Parameters:
visitInfo : VisitInfo

VisitInfo object for a particular exposure.

pupilSize : float

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.

npix : int

Constructed Pupils will be npix x npix.

**kwargs : dict

Other keyword arguments forwarded to the PupilFactoryClass constructor.

getPupilFactoryName(self: lsst.afw.cameraGeom.camera.camera.Camera) → str
getTransform(self: lsst.afw.cameraGeom.camera.camera.Camera, fromSys: lsst.afw.cameraGeom.cameraSys.CameraSys, toSys: lsst.afw.cameraGeom.cameraSys.CameraSys) → lsst.afw.geom.transform.transform.TransformPoint2ToPoint2
getTransformMap(self: lsst.afw.cameraGeom.camera.camera.Camera) → lsst.afw.cameraGeom.transformMap.TransformMap
isPersistable(self: lsst.afw.cameraGeom.camera.camera.Camera) → bool
readFits(*args, **kwargs)

Overloaded function.

  1. readFits(fileName: str, hdu: int=-2147483648) -> lsst.afw.cameraGeom.camera.camera.Camera
  2. readFits(manager: lsst.afw.fits.fits.MemFileManager, hdu: int=-2147483648) -> lsst.afw.cameraGeom.camera.camera.Camera
transform(*args, **kwargs)

Overloaded function.

  1. transform(self: lsst.afw.cameraGeom.camera.camera.Camera, point: lsst.geom.Point2D, fromSys: lsst.afw.cameraGeom.cameraSys.CameraSys, toSys: lsst.afw.cameraGeom.cameraSys.CameraSys) -> lsst.geom.Point2D
  2. transform(self: lsst.afw.cameraGeom.camera.camera.Camera, points: List[lsst.geom.Point2D], fromSys: lsst.afw.cameraGeom.cameraSys.CameraSys, toSys: lsst.afw.cameraGeom.cameraSys.CameraSys) -> List[lsst.geom.Point2D]
writeFits(*args, **kwargs)

Overloaded function.

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