Skip to content

Commit

Permalink
merge with main
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelgarcia committed Nov 13, 2023
2 parents 4fa5a0c + 3e04bd3 commit 021e10e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/spikeinterface/comparison/comparisontools.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ def compute_matching_matrix(
A 2D numpy array of shape `(num_units_train1, num_units_train2)`
"""
matching_matrix = np.zeros((num_units_train1, num_units_train2), dtype=np.uint16)

matching_matrix = np.zeros((num_units_train1, num_units_train2), dtype=np.uint64)

# Used to avoid the same spike matching twice
last_match_frame1 = -np.ones_like(matching_matrix, dtype=np.int64)
Expand Down Expand Up @@ -264,7 +265,7 @@ def make_match_count_matrix(sorting1, sorting2, delta_frames, ensure_symmetry=Fa

num_units_sorting1 = sorting1.get_num_units()
num_units_sorting2 = sorting2.get_num_units()
matching_matrix = np.zeros((num_units_sorting1, num_units_sorting2), dtype=np.uint16)
matching_matrix = np.zeros((num_units_sorting1, num_units_sorting2), dtype=np.uint64)

spike_vector1_segments = sorting1.to_spike_vector(concatenated=False)
spike_vector2_segments = sorting2.to_spike_vector(concatenated=False)
Expand Down
1 change: 1 addition & 0 deletions src/spikeinterface/extractors/extractorlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
ZarrRecordingExtractor,
read_binary,
read_zarr,
read_npz_sorting,
)

# sorting/recording/event from neo
Expand Down

0 comments on commit 021e10e

Please sign in to comment.