File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1045,7 +1045,7 @@ def make(self, key):
1045
1045
# Find representative channel for each unit
1046
1046
unit_peak_channel : dict [int , np .ndarray ] = (
1047
1047
si .ChannelSparsity .from_best_channels (
1048
- sorting_analyzer , 1 , peak_sign = "neg "
1048
+ sorting_analyzer , 1 , peak_sign = "both "
1049
1049
).unit_id_to_channel_indices
1050
1050
)
1051
1051
unit_peak_channel : dict [int , int ] = {u : chn [0 ] for u , chn in unit_peak_channel .items ()}
@@ -1249,7 +1249,7 @@ def make(self, key):
1249
1249
# Find representative channel for each unit
1250
1250
unit_peak_channel : dict [int , np .ndarray ] = (
1251
1251
si .ChannelSparsity .from_best_channels (
1252
- sorting_analyzer , 1 , peak_sign = "neg "
1252
+ sorting_analyzer , 1 , peak_sign = "both "
1253
1253
).unit_id_to_channel_indices
1254
1254
) # {unit: peak_channel_index}
1255
1255
unit_peak_channel = {u : chn [0 ] for u , chn in unit_peak_channel .items ()}
You can’t perform that action at this time.
0 commit comments