|
LSSTApplications
8.0.0.0+107,8.0.0.1+13,9.1+18,9.2,master-g084aeec0a4,master-g0aced2eed8+6,master-g15627eb03c,master-g28afc54ef9,master-g3391ba5ea0,master-g3d0fb8ae5f,master-g4432ae2e89+36,master-g5c3c32f3ec+17,master-g60f1e072bb+1,master-g6a3ac32d1b,master-g76a88a4307+1,master-g7bce1f4e06+57,master-g8ff4092549+31,master-g98e65bf68e,master-ga6b77976b1+53,master-gae20e2b580+3,master-gb584cd3397+53,master-gc5448b162b+1,master-gc54cf9771d,master-gc69578ece6+1,master-gcbf758c456+22,master-gcec1da163f+63,master-gcf15f11bcc,master-gd167108223,master-gf44c96c709
LSSTDataManagementBasePackage
|
#include <Detector.h>
Private Types | |
| typedef boost::unordered_map < std::string, table::AmpInfoCatalog::const_iterator > | _AmpInfoMap |
Private Member Functions | |
| void | _init () |
Private Attributes | |
| std::string | _name |
| name of detector's location in the camera More... | |
| int | _id |
| detector numeric ID More... | |
| DetectorType | _type |
| type of detectorsize_t More... | |
| std::string | _serial |
| serial "number" that identifies the physical detector More... | |
| geom::Box2I | _bbox |
| bounding box More... | |
| table::AmpInfoCatalog | _ampInfoCatalog |
| list of amplifier data More... | |
| _AmpInfoMap | _ampNameIterMap |
| map of amplifier name: catalog iterator More... | |
| Orientation | _orientation |
| position and orientation of detector in focal plane More... | |
| geom::Extent2D | _pixelSize |
| pixel size (mm) More... | |
| CameraTransformMap | _transformMap |
| registry of coordinate transforms More... | |
Information about a CCD or other imaging detector
Supports conversion of CameraPoint between FOCAL_PLANE and pixel-based coordinate systems. Also an iterator over amplifiers (in C++ use begin(), end(), in Python use "for amplifier in detector").
Definition at line 64 of file Detector.h.
|
private |
Definition at line 220 of file Detector.h.
|
explicit |
Make a Detector
| lsst::pex::exceptions::InvalidParameterError | if:
|
| name | name of detector's location in the camera |
| id | detector integer ID; used as keys in some tables |
| type | type of detector |
| serial | serial "number" that identifies the physical detector |
| bbox | bounding box |
| ampInfoCatalog | catalog of amplifier information |
| orientation | detector position and orientation in focal plane |
| pixelSize | pixel size (mm) |
| Transforms | map of CameraSys: XYTranform, where each XYTransform's "forward" method transforms from PIXELS to the specified camera system |
Definition at line 31 of file Detector.cc.
|
inline |
Definition at line 90 of file Detector.h.
|
private |
Finish constructing this object
Set _ampNameIterMap from _ampInfoCatalog Check detector name in the CoordSys in the transform registry
| lsst::pex::exceptions::InvalidParameterError | if:
|
Definition at line 84 of file Detector.cc.
|
inline |
Get iterator to beginning of amplifier list
Definition at line 131 of file Detector.h.
|
inline |
Get iterator to end of amplifier list
Definition at line 134 of file Detector.h.
|
inline |
Get the amplifier information catalog
Definition at line 119 of file Detector.h.
|
inline |
| CameraPoint lsst::afw::cameraGeom::Detector::getCenter | ( | CameraSys const & | cameraSys | ) | const |
Get the center of the detector in the specified coordinate system
Definition at line 65 of file Detector.cc.
| CameraPoint lsst::afw::cameraGeom::Detector::getCenter | ( | CameraSysPrefix const & | cameraSysPrefix | ) | const |
Get the center of the detector in the specified coordinate system prefix
Definition at line 70 of file Detector.cc.
| std::vector< geom::Point2D > lsst::afw::cameraGeom::Detector::getCorners | ( | CameraSys const & | cameraSys | ) | const |
Get the corners of the detector in the specified coordinate system
Definition at line 56 of file Detector.cc.
| std::vector< geom::Point2D > lsst::afw::cameraGeom::Detector::getCorners | ( | CameraSysPrefix const & | cameraSysPrefix | ) | const |
Get the corners of the detector in the specified coordinate system prefix
Definition at line 61 of file Detector.cc.
|
inline |
|
inline |
Get the detector name
Definition at line 93 of file Detector.h.
|
inline |
Get detector's orientation in the focal plane
Definition at line 122 of file Detector.h.
|
inline |
Get size of pixel along (mm)
Definition at line 125 of file Detector.h.
|
inline |
Get the detector serial "number"
Definition at line 101 of file Detector.h.
|
inline |
Get the transform registry
Definition at line 128 of file Detector.h.
|
inline |
Definition at line 98 of file Detector.h.
|
inline |
Make a CameraPoint from a point and a camera system
| point | 2-d point |
| cameraSys | coordinate system |
Definition at line 160 of file Detector.h.
|
inline |
Make a CameraPoint from a point and a camera system prefix
| point | 2-d point |
| cameraSysPrefix | coordinate system prefix |
Definition at line 170 of file Detector.h.
|
inline |
Get a coordinate system from a coordinate system (return input unchanged and untested)
Definition at line 182 of file Detector.h.
|
inline |
Get a coordinate system from a detector system prefix (add detector name)
Definition at line 187 of file Detector.h.
|
inline |
Get the amplifier specified by index
| std::out_of_range) | if index is out of range |
Definition at line 141 of file Detector.h.
| const table::AmpInfoRecord & lsst::afw::cameraGeom::Detector::operator[] | ( | std::string const & | name | ) | const |
Get the amplifier specified by name
| lst::pex::exceptions::InvalidParameterError | if no such amplifier |
Definition at line 74 of file Detector.cc.
|
inline |
Get number of amplifiers. Renamed to __len__ in Python.
Definition at line 153 of file Detector.h.
|
inline |
Convert a CameraPoint from one coordinate system to another
| pexExcept::InvalidParameterError | if from or to coordinate system is unknown |
| fromCameraPoint | camera point to transform |
| toSys | coordinate system to which to transform |
Definition at line 196 of file Detector.h.
|
inline |
Convert a CameraPoint from one coordinate system to a coordinate system prefix
The coordinate system prefix is filled in with this detector's name
| pexExcept::InvalidParameterError | if from or to coordinate system is unknown |
| fromCameraPoint | camera point to transform |
| toSys | coordinate system prefix to which to transform |
Definition at line 212 of file Detector.h.
|
private |
list of amplifier data
Definition at line 238 of file Detector.h.
|
private |
map of amplifier name: catalog iterator
Definition at line 239 of file Detector.h.
|
private |
bounding box
Definition at line 237 of file Detector.h.
|
private |
detector numeric ID
Definition at line 234 of file Detector.h.
|
private |
name of detector's location in the camera
Definition at line 233 of file Detector.h.
|
private |
position and orientation of detector in focal plane
Definition at line 240 of file Detector.h.
|
private |
pixel size (mm)
Definition at line 241 of file Detector.h.
|
private |
serial "number" that identifies the physical detector
Definition at line 236 of file Detector.h.
|
private |
registry of coordinate transforms
Definition at line 242 of file Detector.h.
|
private |
type of detectorsize_t
Definition at line 235 of file Detector.h.
1.8.5