|
lsst.afw
16.0-10-gd1b3a1c94
|
An immutable collection of Detectors that can be accessed by name or ID. More...
Public Member Functions | |
| def | __init__ (self, detectorList) |
| Construct a DetectorCollection. More... | |
| def | __iter__ (self) |
| Support the iter function: return an iterator over all detectors in this collection. More... | |
| def | __len__ (self) |
| Support the len function: return the number of detectors. More... | |
| def | __getitem__ (self, key) |
| Support the [key] operator: return the specified detector. More... | |
| def | __contains__ (self, key) |
| Implement the "in" operator: return true if the specified detector is in the collection. More... | |
| def | getNameIter (self) |
| Get an iterator over detector names. More... | |
| def | getIdIter (self) |
| Get an iterator over detector IDs. More... | |
| def | getFpBBox (self) |
| Return a focal plane bounding box that encompasses all detectors. More... | |
An immutable collection of Detectors that can be accessed by name or ID.
Definition at line 26 of file detectorCollection.py.
| def lsst.afw.cameraGeom.detectorCollection.DetectorCollection.__init__ | ( | self, | |
| detectorList | |||
| ) |
Construct a DetectorCollection.
| [in] | detectorList | a sequence of detectors in index order |
Definition at line 30 of file detectorCollection.py.
| def lsst.afw.cameraGeom.detectorCollection.DetectorCollection.__contains__ | ( | self, | |
| key | |||
| ) |
Implement the "in" operator: return true if the specified detector is in the collection.
| [in] | key | detector name or ID |
Definition at line 66 of file detectorCollection.py.
| def lsst.afw.cameraGeom.detectorCollection.DetectorCollection.__getitem__ | ( | self, | |
| key | |||
| ) |
Support the [key] operator: return the specified detector.
| [in] | key | detector name or ID |
Definition at line 56 of file detectorCollection.py.
| def lsst.afw.cameraGeom.detectorCollection.DetectorCollection.__iter__ | ( | self | ) |
Support the iter function: return an iterator over all detectors in this collection.
Definition at line 46 of file detectorCollection.py.
| def lsst.afw.cameraGeom.detectorCollection.DetectorCollection.__len__ | ( | self | ) |
Support the len function: return the number of detectors.
Definition at line 51 of file detectorCollection.py.
| def lsst.afw.cameraGeom.detectorCollection.DetectorCollection.getFpBBox | ( | self | ) |
Return a focal plane bounding box that encompasses all detectors.
Definition at line 86 of file detectorCollection.py.
| def lsst.afw.cameraGeom.detectorCollection.DetectorCollection.getIdIter | ( | self | ) |
Get an iterator over detector IDs.
Definition at line 81 of file detectorCollection.py.
| def lsst.afw.cameraGeom.detectorCollection.DetectorCollection.getNameIter | ( | self | ) |
Get an iterator over detector names.
Definition at line 76 of file detectorCollection.py.
1.8.13