Skip to content

Commit

Permalink
Merge pull request #3163 from SpikeInterface/prepare_release
Browse files Browse the repository at this point in the history
Prepare 0.101.0 release
  • Loading branch information
samuelgarcia authored Jul 15, 2024
2 parents 1f1a82c + de14d02 commit 7562b24
Show file tree
Hide file tree
Showing 15 changed files with 525 additions and 28 deletions.
4 changes: 2 additions & 2 deletions .github/import_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
time_taken_list.append(time_taken)

for time in time_taken_list:
import_time_threshold = 2.0 # Most of the times is sub-second but there outliers
import_time_threshold = 3.0 # Most of the times is sub-second but there outliers
if time >= import_time_threshold:
exceptions.append(
f"Importing {import_statement} took: {time:.2f} s. Should be <: {import_time_threshold} s."
Expand All @@ -59,7 +59,7 @@
times_list_str = ", ".join(f"{time:.2f}" for time in time_taken_list)
markdown_output += f"| `{import_statement}` | {avg_time:.2f} | {std_time:.2f} | {times_list_str} |\n"

import_time_threshold = 1.0
import_time_threshold = 2.0
if avg_time > import_time_threshold:
exceptions.append(
f"Importing {import_statement} took: {avg_time:.2f} s in average. Should be <: {import_time_threshold} s."
Expand Down
19 changes: 13 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,13 @@
[![Twitter](https://img.shields.io/badge/@spikeinterface-%231DA1F2.svg?style=for-the-badge&logo=Twitter&logoColor=white)](https://twitter.com/spikeinterface) [![Mastodon](https://img.shields.io/badge/-@spikeinterface-%232B90D9?style=for-the-badge&logo=mastodon&logoColor=white)](https://fosstodon.org/@spikeinterface)


> :warning::warning::warning:
> **New features under construction!** 🚧🚧🚧: after the 0.100.0 release (and related bug fixes), the next release will contain
> a major API improvement: the `SortingAnalyzer`. To read more about this, checkout the
> [enhancement proposal](https://github.com/SpikeInterface/spikeinterface/issues/2282).
> Please refer to the stable documentation [here](https://spikeinterface.readthedocs.io/en/0.100.4)
> :rocket::rocket::rocket:
> **New features!**: after months of development and testing, we are happy to announce that
> the latest release (0.101.0) includes a major API improvement: the `SortingAnalyzer`!
> To read more about why we did this, checkout the
> [SpikeInterface Enhancement Proposal](https://github.com/SpikeInterface/spikeinterface/issues/2282).
> Please follow this guide to transition from the old API to the new one:
> [Updating from legacy](https://spikeinterface.readthedocs.io/en/0.101.0/tutorials/waveform_extractor_to_sorting_analyzer.html).

SpikeInterface is a Python framework designed to unify preexisting spike sorting technologies into a single code base.
Expand All @@ -74,12 +76,14 @@ With SpikeInterface, users can:

## Documentation

Detailed documentation of the latest PyPI release of SpikeInterface can be found [here](https://spikeinterface.readthedocs.io/en/0.100.1).
Detailed documentation of the latest PyPI release of SpikeInterface can be found [here](https://spikeinterface.readthedocs.io/en/stable).

Detailed documentation of the development version of SpikeInterface can be found [here](https://spikeinterface.readthedocs.io/en/latest).

Several tutorials to get started can be found in [spiketutorials](https://github.com/SpikeInterface/spiketutorials).

Checkout our YouTube channel for video tutorials: [SpikeInterface YouTube Channel](https://www.youtube.com/@Spikeinterface).

There are also some useful notebooks [on our blog](https://spikeinterface.github.io) that cover advanced benchmarking
and sorting components.

Expand Down Expand Up @@ -128,3 +132,6 @@ If you find SpikeInterface useful in your research, please cite:
publisher={eLife Sciences Publications Limited}
}
```

Please also cite other relevant papers for the specific components you use.
For a ful list of references, please check the [references](https://spikeinterface.readthedocs.io/en/latest/references.html) page.
Binary file modified doc/images/overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 6 additions & 4 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ state-of-the-art spike sorters, post-process and curate the output, compute qual

.. warning::

a major API improvement: the :code:`SortingAnalyzer`. To read more about this, checkout the
Version 0.101.0 introduces a major API improvement: the :code:`SortingAnalyzer`.`
To read more about the motivations, checkout the
`enhancement proposal <https://github.com/SpikeInterface/spikeinterface/issues/2282>`_.
Please refer to the `stable documentation <https://spikeinterface.readthedocs.io/en/0.100.4>`_.
Learn how to :ref:`update your code here <tutorials/waveform_extractor_to_sorting_analyzer:From WaveformExtractor to SortingAnalyzer>` and read more about the
:ref:`SortingAnalyzer here <modules/postprocessing:Postprocessing module>`.
Learn how to :ref:`update your code here <tutorials/waveform_extractor_to_sorting_analyzer:From WaveformExtractor to SortingAnalyzer>`
and read more about the :code:`SortingAnalyzer`, please refer to the
:ref:`core <modules/core:SortingAnalyzer>` and :ref:`postprocessing <modules/postprocessing>` module
documentation.



Expand Down
2 changes: 1 addition & 1 deletion doc/modules/core.rst
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ and merging unit groups.
sorting_analyzer_merge = sorting_analyzer.merge_units([0, 1], [2, 3])
All computed extensions will be automatically propagated or merged when curating. Please refer to the
:ref:`modules/curation` documentation for more information.
:ref:`modules/curation:Curation module` documentation for more information.


Event
Expand Down
1 change: 1 addition & 0 deletions doc/modules/curation.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.. _curation:

Curation module
===============

Expand Down
2 changes: 1 addition & 1 deletion doc/modules/preprocessing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ These two preprocessors will not compute anything at instantiation, but the comp
traces = recording_cmr.get_traces(start_frame=100_000, end_frame=200_000)
Some internal sorters (see :ref:`modules/sorters:Intertnal Sorters`) can work directly on these preprocessed objects so there is no need to
Some internal sorters (see :ref:`modules/sorters:Internal Sorters`) can work directly on these preprocessed objects so there is no need to
save the object:

.. code-block:: python
Expand Down
4 changes: 2 additions & 2 deletions doc/modules/sorters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -473,8 +473,8 @@ Here is the list of external sorters accessible using the run_sorter wrapper:
* **HDSort** :code:`run_sorter(sorter_name='hdsort')`
* **YASS** :code:`run_sorter(sorter_name='yass')`

Intertnal Sorters
-----------------
Internal Sorters
----------------

Here a list of internal sorter based on `spikeinterface.sortingcomponents`; they are totally
experimental for now:
Expand Down
2 changes: 1 addition & 1 deletion doc/modules/widgets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ The functions have the following additional arguments:
# sortingview backend
w_ts = sw.plot_traces(recording=recording, backend="sortingview")
w_ss = sw.plot_sorting_summary(waveform_extractor=we, curation=True, backend="sortingview")
w_ss = sw.plot_sorting_summary(sorting_analyzer=sorting_analyzer, curation=True, backend="sortingview")
**Output:**
Expand Down
16 changes: 16 additions & 0 deletions doc/releases/0.100.8.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
.. _release0.100.8:

SpikeInterface 0.100.8 release notes
------------------------------------

24th June 2024

Minor release with bug fixes

* Remove separate default job_kwarg n_jobs for sorters (#2712)
* Fix math error in sd_ratio (#2964)
* Add `whiteningRange` added as Kilosort 2/2.5/3 parameter (#2997)
* Make sure we check `is_filtered()`` rather than bound method during run basesorter (#3037)
* Numpy 2.0 cap Fix most egregorious deprecated behavior and cap version (#3032, #3056)
* Add support for kilosort>=4.0.12 (#3055)
* Check start_frame/end_frame in BaseRecording.get_traces() (#3059)
Loading

0 comments on commit 7562b24

Please sign in to comment.