LSSTApplications
10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
|
An immutable collection of Detectors that can be accessed by name or ID. More...
Public Member Functions | |
def | __init__ |
Construct a DetectorCollection. More... | |
def | __iter__ |
Support the iter function: return an iterator over all detectors in this collection. More... | |
def | __len__ |
Support the len function: return the number of detectors. More... | |
def | __getitem__ |
Support the [key] operator: return the specified detector. More... | |
def | __contains__ |
Implement the "in" operator: return true if the specified detector is in the collection. More... | |
def | getNameIter |
Get an iterator over detector names. More... | |
def | getIdIter |
Get an iterator over detector IDs. More... | |
def | getFpBBox |
Return a focal plane bounding box that encompasses all detectors. More... | |
Private Attributes | |
_idDetectorDict | |
_nameDetectorDict | |
_fpBBox | |
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 29 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 65 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 55 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 45 of file detectorCollection.py.
def lsst.afw.cameraGeom.detectorCollection.DetectorCollection.__len__ | ( | self | ) |
Support the len function: return the number of detectors.
Definition at line 50 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 85 of file detectorCollection.py.
def lsst.afw.cameraGeom.detectorCollection.DetectorCollection.getIdIter | ( | self | ) |
Get an iterator over detector IDs.
Definition at line 80 of file detectorCollection.py.
def lsst.afw.cameraGeom.detectorCollection.DetectorCollection.getNameIter | ( | self | ) |
Get an iterator over detector names.
Definition at line 75 of file detectorCollection.py.
|
private |
Definition at line 36 of file detectorCollection.py.
|
private |
Definition at line 34 of file detectorCollection.py.
|
private |
Definition at line 35 of file detectorCollection.py.