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

Provide advanced pfsObject plotting utility

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open (View Workflow)
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      As raised during the 2D DRP telecon 2022-07-29: for 1D debugging purposes, and for data analysis in general, we need to provide a means of plotting a pfsObject along with related pfsArm data.

      Robert Lupton provided the following details on the #drp-2d slack channel:

      I envisaged a way to plot a pfsObject file (that ability should exist) with the mask planes helpfully shown (that may not). Then choose a wavelength (ideally via the mouse, but that can easily be added later) and get:
      the pfsArm spectra at that wavelength, over a configurable interval (with mask planes indicated)
      a cutout from the calexps at that wavelength for that object, covering the same interval. This should also
      include the mask (so display_matplotlib embedded into the regular matplotlib; that's easy). We'd have to
      think about the stretch, but initially the same for all calexps would be good enough
      That'd be a set of (pfsArm, calexp) for each input visit. You should be able to tie their wavelength axes together at the matplotlib level, but that's not necessary for an initial version.
      There's probably no need to overlay the detectorMap at this point, but the requested wavelength from the pfsObject spectrum should be indicated in both the spectra/pixel plots
      Let's initially only handle one arm (the one with most of the flux). Let's worry about the dichroic cross over problem later

        Attachments

          Activity

            People

            • Assignee:
              hassan hassan
              Reporter:
              hassan hassan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: