From 9d9b96b9bf4829bb77e173d9ff1ffb5203b44519 Mon Sep 17 00:00:00 2001 From: Samuel Bray Date: Tue, 21 Nov 2023 12:45:05 -0800 Subject: [PATCH] Make aritifact interval a 2d array (#691) --- src/spyglass/spikesorting/spikesorting_artifact.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spyglass/spikesorting/spikesorting_artifact.py b/src/spyglass/spikesorting/spikesorting_artifact.py index 9ae951f90..399c30542 100644 --- a/src/spyglass/spikesorting/spikesorting_artifact.py +++ b/src/spyglass/spikesorting/spikesorting_artifact.py @@ -302,7 +302,7 @@ def _get_artifact_times( (valid_timestamps[i[0]], valid_timestamps[i[1]]) ) - return artifact_removed_valid_times, artifact_intervals_s + return np.asarray(artifact_removed_valid_times), artifact_intervals_s def _init_artifact_worker(