Skip to content

Allow 2ns in daqreader

Luca Scotto Lavina requested to merge 2ns_dt_daqreader into master

Created by: jorana

What is the problem / what does the code in this PR do In the DAQ, some digitizers may be reporting at a different sampling resolution. In this PR we slightly change the DAQ-reader to accomodate this change.

We are doing this by instead of assuming a dt, we assume a maximum dt where we conservatively look for breaks in the data using a gap that is presumably larger than the gap needed for dts smaller than the dt_max.

A simple script is tested here: https://github.com/XENONnT/analysiscode/blob/master/DAQ/neutrons_in_daqreader/load_2ns_dt.ipynb

To see that there are no obvious problems with adding it like this.

Merge request reports

Loading