Changes to lsst.afw.cameraGeom.Detector and Camera

I just merged DM-12447 which implements RFC-392 and makes some changes to lsst.afw.cameraGeom including:

  • Camera.transform and Detector.transform now support transforming a list of points; this is much more efficient than calling the method for each point.
  • CameraPoint is gone. It seemed to mostly make code more complicated and was difficult to reconcile with the previous change.
  • The arguments for Camera.transform and Detector.transform have changed from (cameraPoint, toSys) to (pointOrListOfPoints, fromSys, toSys)
  • Camera.transform no longer will look up a detector for you. That feature was not used and it would have resulted in a slowdown that would probably be very surprising and difficult to see in code.