Expand description
Algorithms used to exract information from the TOF waveforms.
Functionsยง
- calculate_
pedestal - The pedestal is the baseline of the waveform
- cfd_
simple - Find the onset time of a peak with a constant fraction discrimination method.
- find_
peaks - Find peaks in a given time window (in ns) by comparing the waveform voltages with the given threshold.
- find_
peaks_ zscore - Z-scores peak finding algorithm
- fit_
sine_ simple - Sine fit without using external libraries
- get_
max_ value_ idx - Return the index of the maximum value in an array of floats.
- integrate
- Integrate a waveform
- interpolate_
time - Linear interpolation of the time within a single bin of a TOF waveform
- time2bin
- Given a time in ns, find the bin most closely corresponding to that time