Hi,
I am using runmanager to send shots to BLACS. I have defined a global "detuning" and give it an array of 5 values with 10 shots for each value (total 50 shots) and tell it to shuffle through the array. When I look at the global value on Lyse as shots are coming through I can clearly see that it is randomly selecting a value from the array. So when I want to do data analysis, if I import the data frame from Lyse, I get the correct thing.
However, if I just try to call the shot file by giving it the file path name and then use a command such as 'shot.detuning[i] for i in range (50)' then it outputs the array I pasted onto the runmanager with each value being repeated 10 times.
For example, if I send detuning = np.array([0,1,2,3,4]), then it will output np.array([0,0,0,0,0,1,1,1,1,1,....,4,4,4,4]) which is incorrect.
Has anyone encountered this problem before? It looks like the only way to get the correct value is by working with the data frame instead of the shot files.
Thanks!