lsst.afw g3a5ebb7d8a+28b83bf6a5
Loading...
Searching...
No Matches
lsst.afw.cameraGeom.testUtils Namespace Reference

Classes

class  DetectorWrapper
class  CameraWrapper

Functions

 compare2DFunctions (self, func1, func2, minVal=-10, maxVal=None, nVal=5)
 assertTransformMapsEqual (self, map1, map2, **kwds)
 assertAmplifiersEqual (self, amp1, amp2)
 assertDetectorsEqual (self, detector1, detector2, *, compareTransforms=True, **kwds)
 assertDetectorCollectionsEqual (self, collection1, collection2, **kwds)
 assertCamerasEqual (self, camera1, camera2, **kwds)

Function Documentation

◆ assertAmplifiersEqual()

assertAmplifiersEqual ( self,
amp1,
amp2 )

Definition at line 469 of file testUtils.py.

◆ assertCamerasEqual()

assertCamerasEqual ( self,
camera1,
camera2,
** kwds )
Compare two Cameras.

Definition at line 527 of file testUtils.py.

◆ assertDetectorCollectionsEqual()

assertDetectorCollectionsEqual ( self,
collection1,
collection2,
** kwds )
Compare two DetectorCollections.

Definition at line 518 of file testUtils.py.

◆ assertDetectorsEqual()

assertDetectorsEqual ( self,
detector1,
detector2,
* ,
compareTransforms = True,
** kwds )
Compare two Detectors.

Definition at line 493 of file testUtils.py.

◆ assertTransformMapsEqual()

assertTransformMapsEqual ( self,
map1,
map2,
** kwds )
Compare two TransformMaps.

Definition at line 455 of file testUtils.py.

◆ compare2DFunctions()

compare2DFunctions ( self,
func1,
func2,
minVal = -10,
maxVal = None,
nVal = 5 )
Compare two Point2D(list(Point2D)) functions by evaluating them over a
range of values.

Notes
-----
Assumes the functions can be called with ``list[Point2D]`` and return
``list[Point2D]``.

Definition at line 428 of file testUtils.py.