From d5f549f31dd81a1c2bbdc5e8a1573fbbe637a218 Mon Sep 17 00:00:00 2001 From: Christopher Langfield Date: Mon, 8 Jan 2024 10:34:45 -0800 Subject: [PATCH] default radius 200 not 160 --- src/ibldsp/waveforms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ibldsp/waveforms.py b/src/ibldsp/waveforms.py index 317393c..752138b 100644 --- a/src/ibldsp/waveforms.py +++ b/src/ibldsp/waveforms.py @@ -550,7 +550,7 @@ def compute_spike_features(arr_in, fs=30000, recovery_duration_ms=0.16, return_p return df -def extract_wfs_array(arr, df, h, extract_radius=160., trough_offset=42, spike_length_samples=121): +def extract_wfs_array(arr, df, h, extract_radius=200., trough_offset=42, spike_length_samples=121): """ Extract waveforms at specified samples and peak channels as a stack. @@ -559,7 +559,7 @@ def extract_wfs_array(arr, df, h, extract_radius=160., trough_offset=42, spike_l :param df: df containing "sample" and "peak_channel" columns. :param h: probe geometry dict. :param extract_radius: Radius of channels to include. (um, - defaults to 160) + defaults to 200) :param trough_offset: Number of samples to include before peak. (defaults to 42) :param spike_length_samples: Total length of wf in samples.