lsst.afw  13.0-73-gb2a4e38
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
lsst.afw.cameraGeom.detectorCollection.DetectorCollection Class Reference

An immutable collection of Detectors that can be accessed by name or ID. More...

Inheritance diagram for lsst.afw.cameraGeom.detectorCollection.DetectorCollection:

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...
 

Detailed Description

An immutable collection of Detectors that can be accessed by name or ID.

Definition at line 29 of file detectorCollection.py.

Constructor & Destructor Documentation

def lsst.afw.cameraGeom.detectorCollection.DetectorCollection.__init__ (   self,
  detectorList 
)

Construct a DetectorCollection.

Parameters
[in]detectorLista sequence of detectors in index order

Definition at line 33 of file detectorCollection.py.

Member Function Documentation

def lsst.afw.cameraGeom.detectorCollection.DetectorCollection.__contains__ (   self,
  key 
)

Implement the "in" operator: return true if the specified detector is in the collection.

Parameters
[in]keydetector name or ID

Definition at line 69 of file detectorCollection.py.

def lsst.afw.cameraGeom.detectorCollection.DetectorCollection.__getitem__ (   self,
  key 
)

Support the [key] operator: return the specified detector.

Parameters
[in]keydetector name or ID

Definition at line 59 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 49 of file detectorCollection.py.

def lsst.afw.cameraGeom.detectorCollection.DetectorCollection.__len__ (   self)

Support the len function: return the number of detectors.

Definition at line 54 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 89 of file detectorCollection.py.

def lsst.afw.cameraGeom.detectorCollection.DetectorCollection.getIdIter (   self)

Get an iterator over detector IDs.

Definition at line 84 of file detectorCollection.py.

def lsst.afw.cameraGeom.detectorCollection.DetectorCollection.getNameIter (   self)

Get an iterator over detector names.

Definition at line 79 of file detectorCollection.py.


The documentation for this class was generated from the following file: