Skip to content

Commit 6956119

Browse files
committed
Merge branch 'optimize_metrics' of github.com:yger/spikeinterface into optimize_metrics
2 parents 98abb5b + 9007a27 commit 6956119

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spikeinterface/metrics/quality/misc_metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1759,7 +1759,7 @@ def _get_synchrony_counts(spikes, synchrony_sizes, all_unit_ids):
17591759
num_of_syncs = sync_counts[i]
17601760
# Counts inclusively. E.g. if there are 3 simultaneous spikes, these are also added
17611761
# to the 2 simultaneous spike bins.
1762-
units_with_sync = spikes[sync_index:sync_index+num_of_syncs]["unit_index"]
1762+
units_with_sync = spikes[sync_index : sync_index + num_of_syncs]["unit_index"]
17631763
how_many_bins_to_add_to = np.size(synchrony_sizes[synchrony_sizes <= num_of_syncs])
17641764
synchrony_counts[:how_many_bins_to_add_to, units_with_sync] += 1
17651765

0 commit comments

Comments
 (0)