Uploaded image for project: 'DRP 2-D Pipeline'
  1. DRP 2-D Pipeline
  2. PIPE2D-1775

Auto detect windowed parameters from metadata

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done (View Workflow)
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Story Points:
      1

      Description

      Please auto detect that an exposure is windowed from the metadata.
      This code snippet has proven to work.

      nRows = md['W_CDROWN'] + 1 - md['W_CDROW0']
      windowed = nRows != md['NAXIS2']
      

      W_CDROWN, W_CDROW0 are not defined for n arm, so be careful.

        Attachments

          Activity

            People

            • Assignee:
              price price
              Reporter:
              arnaud.lefur arnaud.lefur
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: