Uploaded image for project: 'Data Model'
  1. Data Model
  2. DAMD-111

Change special meaning of pfsDesignId 0x0

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done (View Workflow)
    • Priority: Normal
    • Resolution: Done
    • Labels:
      None
    • Story Points:
      1
    • Sprint:
      2DDRP-2021 A 4, 2DDRP-2021 A5

      Description

      When I wrote the original datamodel I included the sentence:

      As a convenience to simulators, if the fiberIds in a pfsConfig file are consecutive integers starting at 1 and all ra/dec values are 0.0 the pfsDesignId is taken to be 0x0

      In practice we do not use this loophole, as we use pfsConfig files to define the inputs to the simulator. I'd like to remove this dispensation and use 0x0 to mean, "No illuminated fibres". A lawyerly reading of the current rule includes this case, but I think it'd be clearer to change it to:

      A pfsDesignId of 0x0 means that no fibres are illuminated.

       

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: