Skip to content

Commit

Permalink
Update src/spikeinterface/sortingcomponents/motion_interpolation.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 Sep 15, 2023
1 parent 164430c commit 9ad5f56
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def interpolate_motion_on_traces(
**spatial_interpolation_kwargs,
)

i0, i1 = np.searchsorted(bin_inds, [bin_ind, bin_ind + 1] side="left")
i0, i1 = np.searchsorted(bin_inds, [bin_ind, bin_ind + 1], side="left")

# here we use a simple np.matmul even if dirft_kernel can be super sparse.
# because the speed for a sparse matmul is not so good when we disable multi threaad (due multi processing
Expand Down

0 comments on commit 9ad5f56

Please sign in to comment.