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

Adjust defect FITS files to be compatible with DS9

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: meas_algorithms
    • Labels:
      None

      Description

      The FITS region files we are writing use LSST pixel 0,0 as origin. This means that when the regions are loaded into DS9 the regions are shifted by a single pixel. Adjust the output of the region to correct for this (and also adjust when reading back in).

        Attachments

          Activity

          Hide
          tjenness Tim Jenness added a comment -

          I can now load a region file into DS9 and it correctly adjusts for the 0- vs 1- pixel origin. I've also tested (and adjusted) the reader with a region file written by Astropy regions.

          Show
          tjenness Tim Jenness added a comment - I can now load a region file into DS9 and it correctly adjusts for the 0- vs 1- pixel origin. I've also tested (and adjusted) the reader with a region file written by Astropy regions.
          Hide
          krughoff Simon Krughoff added a comment -

          Looks great.

          Show
          krughoff Simon Krughoff added a comment - Looks great.
          Hide
          tjenness Tim Jenness added a comment -

          Thanks. Merged.

          Show
          tjenness Tim Jenness added a comment - Thanks. Merged.

            People

            Assignee:
            tjenness Tim Jenness
            Reporter:
            tjenness Tim Jenness
            Reviewers:
            Simon Krughoff
            Watchers:
            Simon Krughoff, Tim Jenness
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                CI Builds

                No builds found.