From 5140a0423f8c33e3ba6906d48169508585e19807 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 29 Sep 2023 20:32:49 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- doc/modules/extractors.rst | 2 +- doc/modules/motion_correction.rst | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/modules/extractors.rst b/doc/modules/extractors.rst index 1eeca9a325..ccc5d2a311 100644 --- a/doc/modules/extractors.rst +++ b/doc/modules/extractors.rst @@ -6,7 +6,7 @@ Overview The :py:mod:`~spikeinterface.extractors` module allows you to load :py:class:`~spikeinterface.core.BaseRecording`, :py:class:`~spikeinterface.core.BaseSorting`, and :py:class:`~spikeinterface.core.BaseEvent` objects from -a large variety of acquisition systems and spike sorting outputs. +a large variety of acquisition systems and spike sorting outputs. Most of the :code:`Recording` classes are implemented by wrapping the `NEO rawio implementation `_. diff --git a/doc/modules/motion_correction.rst b/doc/modules/motion_correction.rst index 96ecc1fcec..e009e06236 100644 --- a/doc/modules/motion_correction.rst +++ b/doc/modules/motion_correction.rst @@ -163,8 +163,8 @@ The high-level :py:func:`~spikeinterface.preprocessing.correct_motion()` is inte max_distance_um=150.0, **job_kwargs) # Step 2: motion inference - motion, temporal_bins, spatial_bins = estimate_motion(recording=rec, - peaks=peaks, + motion, temporal_bins, spatial_bins = estimate_motion(recording=rec, + peaks=peaks, peak_locations=peak_locations, method="decentralized", direction="y", @@ -175,8 +175,8 @@ The high-level :py:func:`~spikeinterface.preprocessing.correct_motion()` is inte # Step 3: motion interpolation # this step is lazy - rec_corrected = interpolate_motion(recording=rec, motion=motion, - temporal_bins=temporal_bins, + rec_corrected = interpolate_motion(recording=rec, motion=motion, + temporal_bins=temporal_bins, spatial_bins=spatial_bins, border_mode="remove_channels", spatial_interpolation_method="kriging",