Details
-
Type:
Improvement
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: afw
-
Labels:
-
Story Points:1
Description
It would be a useful convenience to not have to always append .getArray() when wanting to print an afw::image when debugging. It should be simple to add a std::cout/str() method that delegates to the existing .getArray() and adds the xy0/origin, and other relevant (short) metadata (not the maskPlaneDict for Masks though).
Attachments
Issue Links
- relates to
-
DM-16291 str(Image) tests too strict about formatting
- Done
Firstly, .getArray() should be spelled .array these days.
Secondly, if this has to be done, please make it short (a single line or two) — unlike the table printing, which can be thousands of lines long.