Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-15682

Add str() for afw::Image and afw::Mask

    XMLWordPrintable

    Details

    • 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

            Activity

            Parejkoj John Parejko created issue -
            Parejkoj John Parejko made changes -
            Field Original Value New Value
            Risk Score 0
            Parejkoj John Parejko made changes -
            Assignee John Parejko [ parejkoj ]
            Parejkoj John Parejko made changes -
            Reviewers Paul Price, Tim Jenness [ price, tjenness ]
            Status To Do [ 10001 ] In Review [ 10004 ]
            tjenness Tim Jenness made changes -
            Status In Review [ 10004 ] Reviewed [ 10101 ]
            Parejkoj John Parejko made changes -
            Resolution Done [ 10000 ]
            Status Reviewed [ 10101 ] Done [ 10002 ]
            krzys Krzysztof Findeisen made changes -
            Link This issue relates to DM-16291 [ DM-16291 ]

              People

              Assignee:
              Parejkoj John Parejko
              Reporter:
              Parejkoj John Parejko
              Reviewers:
              Paul Price, Tim Jenness
              Watchers:
              Jim Bosch, John Parejko, John Swinbank, Paul Price, Russell Owen, Tim Jenness
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.