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

Change our interpretation of FITS HDUs to be 0-indexed

    Details

    • Type: Story
    • Status: Done
    • Priority: Undefined
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: afw
    • Labels:
      None
    • Templates:
    • Team:
      DM Science

      Description

      See RFC-304.

      I'll do something to support the desire to keep -1 to mean "the last HDU", although I do not plan to support this now (a fits file doesn't declare how many HDUs it contains, so we'd have to count them). In C++ using the most negative int makes sense as the default value, and I assume that pybind11 can keep that as a default value.

        Attachments

          Container Issues

            Issue Links

              Activity

                People

                • Assignee:
                  rhl Robert Lupton
                  Reporter:
                  rhl Robert Lupton
                  Reviewers:
                  John Parejko
                  Watchers:
                  John Parejko, Meredith Rawls, Robert Lupton
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Summary Panel