Skip to content

Commit

Permalink
Alessio fixes
Browse files Browse the repository at this point in the history
Co-authored-by: Alessio Buccino <[email protected]>
  • Loading branch information
zm711 and alejoe91 authored Oct 2, 2023
1 parent f0df9a3 commit 6ceee13
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
2 changes: 1 addition & 1 deletion doc/modules/exporters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 0 additions & 10 deletions doc/modules/extractors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion doc/modules/sortingcomponents.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6ceee13

Please sign in to comment.