Skip to content

Commit

Permalink
Exclude 32 chan probe by default for motion correction
Browse files Browse the repository at this point in the history
  • Loading branch information
yger committed Nov 13, 2024
1 parent dfd9bff commit bd525b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spikeinterface/sortingcomponents/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def get_prototype_spike(recording, peaks, ms_before=0.5, ms_after=0.5, nb_peaks=

def check_probe_for_drift_correction(recording, dist_x_max=60):
num_channels = recording.get_num_channels()
if num_channels < 32:
if num_channels <= 32:
return False
else:
locations = recording.get_channel_locations()
Expand Down

0 comments on commit bd525b2

Please sign in to comment.