DarkTyr / squid_ssa_char

SQUID Series Array Screening Characterization Module
The Unlicense
0 stars 0 forks source link

daq.py add check for zeros when attempting to roll on FB triangle #2

Closed DarkTyr closed 1 month ago

DarkTyr commented 3 months ago

I didn't change the datamode for the crate and was looking at the wrong triangle. This resulted in the FB being zeros. When the DAQ take_average_data_roll is called, who knows how it is going to roll. The resulting SQUID VPhi clearly showed a miss-averaged signal. Add an exception to the take_average_data_roll that checks if the array is all zeros, if it is throw an exception to halt the script.