From 3ef3e8cfb37df018106ae734a97a354f822d4722 Mon Sep 17 00:00:00 2001 From: Zach McKenzie <92116279+zm711@users.noreply.github.com> Date: Mon, 6 Nov 2023 15:41:35 -0500 Subject: [PATCH] fix denoise --- src/spikeanalysis/spike_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spikeanalysis/spike_data.py b/src/spikeanalysis/spike_data.py index 316a4dd..1d8ab90 100644 --- a/src/spikeanalysis/spike_data.py +++ b/src/spikeanalysis/spike_data.py @@ -187,7 +187,7 @@ def denoise_data(self): # if len(cids) > len(self._cids): # cids = self._cids - # self._cids = self._cids[np.isin(cids, noise_clusters, invert=True)] + self._cids = self._cids[np.isin(self._cids, noise_clusters, invert=True)] self._return_to_dir(current_dir)