Skip to content

Commit 42d4855

Browse files
authored
Merge pull request #4059 from zm711/update-installation-doc-pydantic
Updates to the `get_started` folder of docs
2 parents 6f75a23 + 0a31934 commit 42d4855

3 files changed

Lines changed: 21 additions & 12 deletions

File tree

doc/get_started/import.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ For example:
7373
.. code-block:: python
7474
7575
from spikeinterface.preprocessing import bandpass_filter, common_reference
76-
from spikeinterface.core import extract_waveforms
76+
from spikeinterface.core import create_sorting_analyzer
7777
from spikeinterface.extractors import read_binary
7878
7979
As mentioned this approach only imports exactly what you plan on using so it is the most minimalist. It does require

doc/get_started/install_sorters.rst

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ and in many cases the easiest way to run them is to do so via Docker or Singular
1212
**This is the approach we recommend for all users.**
1313
To run containerized sorters see our documentation here: :ref:`containerizedsorters`.
1414

15-
There are some cases where users will need to install the spike sorting algorithms in their own environment. If you
15+
There are some cases where you will need to install the spike sorting algorithms on your own computer. If you
1616
are on a system where it is infeasible to run Docker or Singularity containers, or if you are actively developing the
1717
spike sorting software, you will likely need to install each spike sorter yourself.
1818

@@ -24,7 +24,7 @@ opencl (Tridesclous) to use hardware acceleration (GPU).
2424
Here is a list of the implemented wrappers and some instructions to install them on your local machine.
2525
Installation instructions are given for an **Ubuntu** platform. Please check the documentation of the different spike
2626
sorters to retrieve installation instructions for other operating systems.
27-
We use **pip** to install packages, but **conda** should also work in many cases.
27+
We use **pip** to install packages, but **conda** or **uv** should also work in many cases.
2828

2929
Some novel spike sorting algorithms are implemented directly in SpikeInterface using the
3030
:py:mod:`spikeinterface.sortingcomponents` module. Checkout the :ref:`get_started/install_sorters:SpikeInterface-based spike sorters` section of this page
@@ -140,10 +140,12 @@ Kilosort4
140140

141141
* Python, requires CUDA for GPU acceleration (highly recommended)
142142
* Url: https://github.com/MouseLand/Kilosort
143-
* Authors: Marius Pachitariu, Shashwat Sridhar, Carsen Stringer
143+
* Authors: Marius Pachitariu, Shashwat Sridhar, Carsen Stringer, Jacob Pennington
144144
* Installation::
145145

146-
pip install kilosort==4.0 torch
146+
pip install kilosort
147+
pip uninstall torch
148+
pip install torch --index-url https://download.pytorch.org/whl/cu118
147149

148150
* For more installation instruction refer to https://github.com/MouseLand/Kilosort
149151

@@ -240,7 +242,7 @@ Waveclus
240242
* Also supports Snippets (waveform cutouts) objects (:py:class:`~spikeinterface.core.BaseSnippets`)
241243
* Url: https://github.com/csn-le/wave_clus/wiki
242244
* Authors: Fernando Chaure, Hernan Rey and Rodrigo Quian Quiroga
243-
* Installation needs Matlab::
245+
* Installation requires Matlab::
244246

245247
git clone https://github.com/csn-le/wave_clus/
246248
# provide installation path by setting the WAVECLUS_PATH environment variable
@@ -270,7 +272,7 @@ with SpikeInterface.
270272
SpykingCircus2
271273
^^^^^^^^^^^^^^
272274

273-
This is a upgraded version of SpykingCircus, natively written in SpikeInterface.
275+
This is an upgraded version of SpykingCircus, natively written in SpikeInterface.
274276
The main differences are located in the clustering (now using on-the-fly features and less prone to finding
275277
noise clusters), and in the template-matching procedure, which is now a fully orthogonal matching pursuit,
276278
working not only at peak times but at all times, recovering more spikes close to noise thresholds.
@@ -289,7 +291,7 @@ Tridesclous2
289291
^^^^^^^^^^^^
290292

291293
This is an upgraded version of Tridesclous, natively written in SpikeInterface.
292-
#Same add his notes.
294+
293295

294296
* Python
295297
* Requires: HDBSCAN and Numba
@@ -314,7 +316,7 @@ Klusta (LEGACY)
314316
* Authors: Cyrille Rossant, Shabnam Kadir, Dan Goodman, Max Hunter, Kenneth Harris
315317
* Installation::
316318

317-
pip install Cython h5py tqdm
319+
pip install cython h5py tqdm
318320
pip install click klusta klustakwik2
319321

320322
* See also: https://github.com/kwikteam/phy

doc/get_started/installation.rst

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,16 @@ Requirements
8181

8282
* numpy
8383
* probeinterface
84-
* neo>=0.9.0
85-
* joblib
84+
* neo
8685
* threadpoolctl
8786
* tqdm
87+
* zarr
88+
* pydantic
89+
* numcodecs
90+
* packaging
8891

8992
Sub-modules have more dependencies, so you should also install:
9093

91-
* zarr
9294
* h5py
9395
* scipy
9496
* pandas
@@ -98,8 +100,13 @@ Sub-modules have more dependencies, so you should also install:
98100
* matplotlib
99101
* numba
100102
* distinctipy
103+
* skops
104+
* huggingface_hub
101105
* cuda-python (for non-macOS users)
102106

103107

108+
For developers we offer a :code:`[dev]` option which installs testing, documentation, and linting packages necessary
109+
for testing and building the docs.
110+
104111
All external spike sorters can be either run inside containers (Docker or Singularity - see :ref:`containerizedsorters`)
105112
or must be installed independently (see :ref:`get_started/install_sorters:Installing Spike Sorters`).

0 commit comments

Comments
 (0)