Camera¶
-
class
lsst.afw.cameraGeom.
Camera
¶ Bases:
lsst.afw.cameraGeom.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: - focalRadius :
float
Maximum focal plane radius in FOCAL_PLANE units (mm).
- focalRadius :
-
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.
- get(self: lsst.afw.cameraGeom.DetectorCollectionDetectorBase, name: str, default: lsst.afw.cameraGeom.Detector = None) -> lsst.afw.cameraGeom.Detector
- 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: - 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.
- visitInfo :
-
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.
- readFits(fileName: str, hdu: int = -2147483648) -> lsst.afw.cameraGeom.Camera
- readFits(manager: lsst.afw.fits._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.
- transform(self: lsst.afw.cameraGeom.Camera, point: lsst.geom.Point2D, fromSys: lsst.afw.cameraGeom.CameraSys, toSys: lsst.afw.cameraGeom.CameraSys) -> lsst.geom.Point2D
- 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.
- writeFits(self: lsst.afw.cameraGeom.Camera, fileName: str, mode: str = ‘w’) -> None
- writeFits(self: lsst.afw.cameraGeom.Camera, manager: lsst.afw.fits._fits.MemFileManager, mode: str = ‘w’) -> None
-