Skip to content

Commit

Permalink
Update src/spikeinterface/preprocessing/detect_bad_channels.py
Browse files Browse the repository at this point in the history
Co-authored-by: Zach McKenzie <[email protected]>
  • Loading branch information
alejoe91 and zm711 authored Nov 30, 2023
1 parent 5829302 commit 7f3be40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spikeinterface/preprocessing/detect_bad_channels.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ def detect_bad_channels_ibl(
ichannels[inoisy] = 2

# the channels outside of the brains are the contiguous channels below the threshold on the trend coherency
# the chanels outide need to be at the extreme of the probe
# the chanels outside need to be at the extreme of the probe
(ioutside,) = np.where(xcorr_distant < outside_channel_thr)
a = np.cumsum(np.r_[0, np.diff(ioutside) - 1])
if ioutside.size > 0:
Expand Down

0 comments on commit 7f3be40

Please sign in to comment.