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

Write fitted wavelength position and error to file

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done (View Workflow)
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 6.0
    • Component/s: None
    • Labels:
      None
    • Story Points:
      3
    • Sprint:
      2019 B, 2DDRP-2019 C, 2DDRP-2019 D, 2DDRP-2019 E, 2DDRP-2019 F, 2DDRP-2019 G

      Description

      The existing 2D DRP code (IdentifyLinesTask) already estimates positions and errors of spectral lines, based on a reference line list. We need to write this information in the case of arc data, to a separate file.

      More specifically, the fiberId, wavelength, line positions and error (y and delta-y) are written to an ASCII or FITS file, along with additional information identifying the arc exposure (pfsDesignId and pfsConfigId).

      In addition, the CalibrateWavelengthsTask uses the information from IdentifyLinesTask to determine a wavelength solution for the detectorMap, flagging lines that are used as part of the fitting, or those that are reserved. That task also provides a revised estimate and error of the wavelength solution.

      This additional information should also be written to the same file (there is some denormalization here but it makes more practical sense to carry both sets of information in the same file).

      I suggest updating the method reduceArcTask.write() to do this, as it appears that most of the information is available there.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                naka.keigo Keigo Nakamura
                Reporter:
                hassan hassan
                Reviewers:
                hassan
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: