-
Type: Task
-
Status: Done (View Workflow)
-
Priority: Normal
-
Resolution: Done
-
Component/s: pfs_utils
-
Labels:
-
Story Points:1
Here's a summary of the changes:
- Added the randomFraction argument to the function definition with a default value of 1.
- If variant is 0, set randomFraction to 0.
- Initialize dra and ddec arrays with zeros.
- Generate random indices based on the randomFraction
- Apply random offsets only to the selected indices in the dra and ddec arrays.