Miniball / MiniballSort

Sort code for Miniball data using the new FEBEX/MIDAS DAQ
2 stars 9 forks source link

Updates to detecting dodgy timestamps #18

Closed lpgaff closed 7 months ago

lpgaff commented 7 months ago

This update assumes that the first timestamp in a read is a good one, and it checks that all other timestamps from that SFP, in the same buffer, are within 30 seconds of that one.

This seems to get over some of the previous issues with bad timestamps, but I am still seeing time warps in the Hg data, which I thought wasn't possible. Will be interesting to test it on the plunger data to see if the buffer rejection is working.