File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 'DIGITAL_SUM_WAVEFORM_CHANNEL DEFAULT_RECORD_LENGTH' ).split ()
1111
1212DIGITAL_SUM_WAVEFORM_CHANNEL = - 1
13- DEFAULT_RECORD_LENGTH = 600
13+ DEFAULT_RECORD_LENGTH = 110
1414
1515
1616# Base dtype for interval-like objects (pulse, peak, hit)
Original file line number Diff line number Diff line change 1515
1616@export
1717@numba .jit (nopython = True , nogil = True , cache = True )
18- def baseline (records , baseline_samples = 40 ):
18+ def baseline (records , baseline_samples = 20 ):
1919 """Subtract pulses from int(baseline), store baseline in baseline field
2020 :param baseline_samples: number of samples at start of pulse to average
2121 Assumes records are sorted in time (or at least by channel, then time)
@@ -51,7 +51,7 @@ def baseline(records, baseline_samples=40):
5151
5252@export
5353@numba .njit (cache = True , nogil = True )
54- def baseline_rms (records , nsampels = 40 ):
54+ def baseline_rms (records , nsampels = 20 ):
5555 """
5656 Function which estimates the baseline rms within a certain number of samples.
5757
@@ -86,7 +86,7 @@ def baseline_rms(records, nsampels=40):
8686
8787
8888@numba .njit (cache = True , nogil = True )
89- def _baseline_rms (d , b , n_samples = 40 ):
89+ def _baseline_rms (d , b , n_samples = 20 ):
9090 """
9191 Function which estimates the baseline rms within a certain number of samples.
9292
You can’t perform that action at this time.
0 commit comments