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
|
A collection of Detectors that also supports coordinate transformation. More...
Public Member Functions | |
def | __init__ |
Construct a Camera. More... | |
def | getName |
Return the camera name. More... | |
def | findDetectors |
Find the detectors that cover a given cameraPoint, or empty list. More... | |
def | findDetectorsList |
Find the detectors that cover a list of points specified by x and y coordinates in any system. More... | |
def | getTransformMap |
Obtain the transform registry. More... | |
def | transform |
Transform a CameraPoint to a different CameraSys. More... | |
def | makeCameraPoint |
Make a CameraPoint from a Point2D and a CameraSys. More... | |
Private Member Functions | |
def | _transformFromNativeSys |
Transform a point in the native coordinate system to another coordinate system. More... | |
def | _transformSingleSysArray |
Transform an array of points from once CameraSys to another CameraSys. More... | |
def | _transformSingleSys |
Transform a CameraPoint with a CameraSys to another CameraSys. More... | |
Private Attributes | |
_name | |
_transformMap | |
_nativeCameraSys | |
A collection of Detectors that also supports coordinate transformation.
def lsst.afw.cameraGeom.camera.Camera.__init__ | ( | self, | |
name, | |||
detectorList, | |||
transformMap | |||
) |
Construct a Camera.
[in] | name | name of camera |
[in] | detectorList | a sequence of detectors in index order |
[in] | transformMap | a CameraTransformMap whose native system is FOCAL_PLANE and that at least supports PUPIL coordinates |
Definition at line 30 of file camera.py.
|
private |
Transform a point in the native coordinate system to another coordinate system.
[in] | nativePoint | CameraPoint in the native system for the camera |
[in] | toSys | destination CameraSys |
Definition at line 48 of file camera.py.
|
private |
Transform a CameraPoint with a CameraSys to another CameraSys.
[in] | cameraPoint | CameraPoint to transform |
[in] | toSys | Destination coordinate system |
Definition at line 91 of file camera.py.
|
private |
Transform an array of points from once CameraSys to another CameraSys.
[in] | positionList | List of Point2D objects, one per position |
[in] | fromSys | Initial camera coordinate system |
[in] | toSys | Destination camera coordinate system |
Definition at line 68 of file camera.py.
def lsst.afw.cameraGeom.camera.Camera.findDetectors | ( | self, | |
cameraPoint | |||
) |
Find the detectors that cover a given cameraPoint, or empty list.
[in] | cameraPoint | position to use in lookup |
Definition at line 114 of file camera.py.
def lsst.afw.cameraGeom.camera.Camera.findDetectorsList | ( | self, | |
cameraPointList, | |||
coordSys | |||
) |
Find the detectors that cover a list of points specified by x and y coordinates in any system.
[in] | cameraPointList | a list of cameraPoints |
[in] | coordSys | the camera coordinate system in which cameraPointList is defined |
Definition at line 132 of file camera.py.
def lsst.afw.cameraGeom.camera.Camera.getName | ( | self | ) |
Return the camera name.
def lsst.afw.cameraGeom.camera.Camera.getTransformMap | ( | self | ) |
Obtain the transform registry.
Definition at line 159 of file camera.py.
def lsst.afw.cameraGeom.camera.Camera.makeCameraPoint | ( | self, | |
point, | |||
cameraSys | |||
) |
Make a CameraPoint from a Point2D and a CameraSys.
[in] | point | an lsst.afw.geom.Point2D |
[in] | cameraSys | a CameraSys |
Definition at line 179 of file camera.py.
def lsst.afw.cameraGeom.camera.Camera.transform | ( | self, | |
cameraPoint, | |||
toSys | |||
) |
Transform a CameraPoint to a different CameraSys.
[in] | cameraPoint | CameraPoint to transform |
[in] | toSys | Transform to this CameraSys |
Definition at line 168 of file camera.py.