From 6ceee13abe776ceec65dd6239f5f97fbca1096a4 Mon Sep 17 00:00:00 2001 From: Zach McKenzie <92116279+zm711@users.noreply.github.com> Date: Mon, 2 Oct 2023 05:08:25 -0400 Subject: [PATCH] Alessio fixes Co-authored-by: Alessio Buccino --- doc/modules/exporters.rst | 2 +- doc/modules/extractors.rst | 10 ---------- doc/modules/sortingcomponents.rst | 2 +- 3 files changed, 2 insertions(+), 12 deletions(-) diff --git a/doc/modules/exporters.rst b/doc/modules/exporters.rst index 1d23f9ad6f..155050ddb0 100644 --- a/doc/modules/exporters.rst +++ b/doc/modules/exporters.rst @@ -31,7 +31,7 @@ The input of the :py:func:`~spikeinterface.exporters.export_to_phy` is a :code:` we = extract_waveforms(recording=recording, sorting=sorting, folder='waveforms', sparse=True) # some computations are done before to control all options - compute_spike_amplitudes(waveform_extractor = we) + compute_spike_amplitudes(waveform_extractor=we) compute_principal_components(waveform_extractor=we, n_components=3, mode='by_channel_global') # the export process is fast because everything is pre-computed diff --git a/doc/modules/extractors.rst b/doc/modules/extractors.rst index ccc5d2a311..2d0e047672 100644 --- a/doc/modules/extractors.rst +++ b/doc/modules/extractors.rst @@ -48,16 +48,6 @@ Importantly, some formats directly handle the probe information: print(recording_mearec.get_probe()) -Although most recordings are loaded with the :py:mod:`~spikeinterface.extractors` -a few file formats are loaded from the :py:mod:`~spikeinterface.core` module - -.. code-block:: python - - import spikeinterface as si - - recording_binary = si.read_binary(file_path='binary.bin') - - recording_zarr = si.read_zarr(file_path='zarr_file.zarr') Read one Sorting diff --git a/doc/modules/sortingcomponents.rst b/doc/modules/sortingcomponents.rst index f3371f7e7b..1e58972497 100644 --- a/doc/modules/sortingcomponents.rst +++ b/doc/modules/sortingcomponents.rst @@ -184,7 +184,7 @@ Here is an example with non-rigid motion estimation: .. code-block:: python from spikeinterface.sortingcomponents.peak_detection import detect_peaks - peaks = detect_peaks(recording=ecording, ...) # as in above example + peaks = detect_peaks(recording=recording, ...) # as in above example from spikeinterface.sortingcomponents.peak_localization import localize_peaks peak_locations = localize_peaks(recording=recording, peaks=peaks, ...) # as above