I figured out a method in which to capture power measurements including the initial seconds in which the beam is first turned on. I first clear and restart the kernel of the python notebook. Then I run the command to connect the red pitaya oscilloscope package to the input data being taken in both channels. To my understanding, this allows for data acquisition as the code compiles. I then started looping the 1.074s trigger bunches, and then roughly 2 seconds after I ran that command, I went and turned on the laser. The first plot shown is a 2 minute practice trial of me trying this technique to make sure that the python package was correctly registering the input of the red pitaya. It is clear that initially the laser is off, and then as I turned it on, the voltage in each channel spikes, which is compelling evidence that the code is working. I then set the data collection to be 7518 seconds (7000 loops), which is about 2 hours and 5 minutes. I repeated the same technique as for the first plot, only changing the amount of time I collected data. The second plot shown here is the voltage being read in each channel as a function of time. As we can see, over a period of hours, the intensity drifts quite dramatically for the first several minutes, and then begins to stabilize slightly. However, there are still some strong sudden fluctuations in each channel. |