Skip to content

Commit 4351bb4

Browse files
author
Wenz
committed
Last push before changing to new strax version. This version can still be used with the old nVETO DAQreader.
1 parent da7fdea commit 4351bb4

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

strax/dtypes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
'DIGITAL_SUM_WAVEFORM_CHANNEL DEFAULT_RECORD_LENGTH').split()
1111

1212
DIGITAL_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)

strax/processing/pulse_processing.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
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

0 commit comments

Comments
 (0)