diff --git a/src/spikeinterface/sortingcomponents/benchmark/benchmark_motion_interpolation.py b/src/spikeinterface/sortingcomponents/benchmark/benchmark_motion_interpolation.py index a6ff05fc55..38365adfd1 100644 --- a/src/spikeinterface/sortingcomponents/benchmark/benchmark_motion_interpolation.py +++ b/src/spikeinterface/sortingcomponents/benchmark/benchmark_motion_interpolation.py @@ -6,7 +6,7 @@ from spikeinterface.sorters import run_sorter from spikeinterface.comparison import GroundTruthComparison -from spikeinterface.sortingcomponents.motion_interpolation import InterpolateMotionRecording +from spikeinterface.sortingcomponents.motion.motion_interpolation import InterpolateMotionRecording from spikeinterface.curation import MergeUnitsSorting diff --git a/src/spikeinterface/sortingcomponents/motion/dredge.py b/src/spikeinterface/sortingcomponents/motion/dredge.py index f2a46bdfcb..6fa2242d8c 100644 --- a/src/spikeinterface/sortingcomponents/motion/dredge.py +++ b/src/spikeinterface/sortingcomponents/motion/dredge.py @@ -31,13 +31,6 @@ from .motion_utils import Motion, get_spatial_windows, get_window_domains, scipy_conv1d, make_2d_motion_histogram -# to discuss -# margin -# xcorr new function -# which dataset band usefull for ? -# dredge_ap -# use patient 2 - # todo use gaussian_filter1d in historgam 2d # put smotthing inside the histogram function # put the log for weight inhitstogram diff --git a/src/spikeinterface/sortingcomponents/motion/tests/test_motion_interpolation.py b/src/spikeinterface/sortingcomponents/motion/tests/test_motion_interpolation.py index cb26560272..e022f0cc6c 100644 --- a/src/spikeinterface/sortingcomponents/motion/tests/test_motion_interpolation.py +++ b/src/spikeinterface/sortingcomponents/motion/tests/test_motion_interpolation.py @@ -4,13 +4,13 @@ import pytest import spikeinterface.core as sc from spikeinterface import download_dataset -from spikeinterface.sortingcomponents.motion_interpolation import ( +from spikeinterface.sortingcomponents.motion.motion_interpolation import ( InterpolateMotionRecording, correct_motion_on_peaks, interpolate_motion, interpolate_motion_on_traces, ) -from spikeinterface.sortingcomponents.motion_utils import Motion +from spikeinterface.sortingcomponents.motion import Motion from spikeinterface.sortingcomponents.tests.common import make_dataset