Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: afw
-
Labels:None
-
Story Points:4
-
Epic Link:
-
Sprint:DRP S18-6, DRP F18-1, DRP F18-2
-
Team:Data Release Production
Description
Add operator[](Box2I), operator[](Point2I), operator[](int, int) to C++ image interfaces, taking into account xy0. Wrap for Python using a temporary alternate method name.
Remove old Python implementation of __getitem__ and __call__.
Update any code that used the old APIs to use the new temporary ones.
Switch from temporary names to __getitem__ and update downstream code accordingly (via regex or similar).
While it would be easier (for me) to push the
DM-13911first, I think it would probably be better to get this ticket merged first so that I can updateDM-13911appropriately. If I merge first then this ticket won't break anything, but we could potentially miss cleaning up `MultbandBase` to take advantage of the new `Image` behavior.