Uploaded image for project: 'Instrument control development'
  1. Instrument control development
  2. INSTRM-2214

add randomFraction argument to makeVariantDesign

    XMLWordPrintable

    Details

    • Story Points:
      1

      Description

      Here's a summary of the changes:

      1. Added the randomFraction argument to the function definition with a default value of 1.
      2. If variant is 0, set randomFraction to 0.
      3. Initialize dra and ddec arrays with zeros.
      4. Generate random indices based on the randomFraction
      5. Apply random offsets only to the selected indices in the dra and ddec arrays.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: