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

fiberProfiles should contain an entry for every fibre in pfsConfig for that spectrograph

    XMLWordPrintable

    Details

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

      Description

      Currently the FiberTraceSet returned by butler.get("fiberTraces", ...) omits broken fibres, so e.g. for SuNSS it contains 251 not 254 entries. This means that it lines up neither with pfsConfig[pfsConfig.spectrograph == n] (using post-PIPE2D-770 syntax) nor with pfsArm/pfsMerged files.

      Please fix this, and carry out an audit for any other data products that don't have an entry for every fibre.

      In the short run, the "solution" is

      pfsConfig = butler.get("pfsConfig", dataId) 
      fiberProfiles = butler.get("fiberProfiles", dataId)
      fid0 = fiberProfiles.fiberId[0]
      for fid in set(pfsConfig.fiberId) - set(fiberProfiles.fiberId):
          fiberProfiles[fid] = fiberProfiles[fid0]
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: