# Changes to lsst.afw.cameraGeom.Detector and Camera

**URL:** <https://www.rubin.community/t/changes-to-lsst-afw-camerageom-detector-and-camera/2721>\
**Category:** DM Notifications\
**Tags:** dm-dev\
**Created:** [February 27, 2018, 10:48pm UTC](https://www.rubin.community/t/changes-to-lsst-afw-camerageom-detector-and-camera/2721 "2018-02-27T22:48:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rowen](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/rowen/32/52_2.png) [@rowen](https://www.rubin.community/u/rowen)\
**Post date:** [February 27, 2018, 10:48pm UTC](https://www.rubin.community/t/changes-to-lsst-afw-camerageom-detector-and-camera/2721/1 "2018-02-27T22:48:52Z")

</div>

I just merged [DM-12447](https://jira.lsstcorp.org/browse/DM-12447) which implements [RFC-392](https://jira.lsstcorp.org/browse/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.
