diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-10 22:55:42 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-10 22:55:42 +0000 |
commit | f49300b8b7ce4db80afb6443967d6605a3934c67 (patch) | |
tree | 9eda33290502001869b8f1e3d4f2d95333d94ed7 /python-spikeinterface.spec | |
parent | 5d51e3f9a7b078faf8fbce84a6aa4017f797e5e2 (diff) |
automatic import of python-spikeinterface
Diffstat (limited to 'python-spikeinterface.spec')
-rw-r--r-- | python-spikeinterface.spec | 479 |
1 files changed, 479 insertions, 0 deletions
diff --git a/python-spikeinterface.spec b/python-spikeinterface.spec new file mode 100644 index 0000000..3aa6654 --- /dev/null +++ b/python-spikeinterface.spec @@ -0,0 +1,479 @@ +%global _empty_manifest_terminate_build 0 +Name: python-spikeinterface +Version: 0.97.1 +Release: 1 +Summary: Python toolkit for analysis, visualization, and comparison of spike sorting output +License: MIT License +URL: https://pypi.org/project/spikeinterface/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/65/c5/5fa495bf46091ecda52442acb0bf38b35a93b5eeed19f60f263173687add/spikeinterface-0.97.1.tar.gz +BuildArch: noarch + +Requires: python3-numpy +Requires: python3-neo +Requires: python3-joblib +Requires: python3-threadpoolctl +Requires: python3-tqdm +Requires: python3-probeinterface +Requires: python3-MEArec +Requires: python3-pynwb +Requires: python3-pyedflib +Requires: python3-lxml +Requires: python3-hdf5storage +Requires: python3-scipy +Requires: python3-ONE-api +Requires: python3-ibllib +Requires: python3-sonpy +Requires: python3-zarr +Requires: python3-h5py +Requires: python3-pandas +Requires: python3-xarray +Requires: python3-scipy +Requires: python3-scikit-learn +Requires: python3-networkx +Requires: python3-distinctipy +Requires: python3-matplotlib +Requires: python3-cuda-python +Requires: python3-pytest +Requires: python3-pytest-cov +Requires: python3-zarr +Requires: python3-xarray +Requires: python3-huggingface-hub +Requires: python3-numpy +Requires: python3-numba +Requires: python3-hdbscan +Requires: python3-sortingview +Requires: python3-datalad +Requires: python3-tridesclous +Requires: python3-pymde +Requires: python3-torch +Requires: python3-pynndescent +Requires: python3-matplotlib +Requires: python3-ipympl +Requires: python3-ipywidgets +Requires: python3-sortingview +Requires: python3-figurl-jupyter + +%description +# SpikeInterface: a unified framework for spike sorting + +<table> +<tr> + <td>Latest Release</td> + <td> + <a href="https://pypi.org/project/spikeinterface/"> + <img src="https://img.shields.io/pypi/v/spikeinterface.svg" alt="latest release" /> + </a> + </td> +</tr> +<tr> + <td>Documentation</td> + <td> + <a href="https://spikeinterface.readthedocs.io/"> + <img src="https://readthedocs.org/projects/spikeinterface/badge/?version=latest" alt="latest documentation" /> + </a> + </td> +</tr> +<tr> + <td>License</td> + <td> + <a href="https://github.com/SpikeInterface/spikeinterface/blob/master/LICENSE"> + <img src="https://img.shields.io/pypi/l/spikeinterface.svg" alt="license" /> + </a> +</td> +</tr> +<tr> + <td>Build Status</td> + <td> + <a href="https://github.com/SpikeInterface/spikeinterface/actions/workflows/full-test.yml/badge.svg"> + <img src="https://github.com/SpikeInterface/spikeinterface/actions/workflows/full-test.yml/badge.svg" alt="travis build status" /> + </a> + </td> +</tr> +<tr> + <td>Codecov</td> + <td> + <a href="https://codecov.io/github/spikeinterface/spikeinterface"> + <img src="https://codecov.io/gh/spikeinterface/spikeinterface/branch/master/graphs/badge.svg" alt="codecov" /> + </a> + </td> +</tr> +</table> + +[](https://twitter.com/spikeinterface) [](https://fosstodon.org/@spikeinterface) + + +SpikeInterface is a Python framework designed to unify preexisting spike sorting technologies into a single code base. + +Please [Star](https://github.com/SpikeInterface/spikeinterface/stargazers) the project to support us and [Watch](https://github.com/SpikeInterface/spikeinterface/subscription) to always stay up-to-date! + + +With SpikeInterface, users can: + +- read/write many extracellular file formats. +- pre-process extracellular recordings. +- run many popular, semi-automatic spike sorters (also in Docker/Singularity containers). +- post-process sorted datasets. +- compare and benchmark spike sorting outputs. +- compute quality metrics to validate and curate spike sorting outputs. +- visualize recordings and spike sorting outputs in several ways (matplotlib, sortingview, in jupyter) +- export report and export to phy +- offer a powerful Qt-based viewer in separate package [spikeinterface-gui](https://github.com/SpikeInterface/spikeinterface-gui) +- have some powerful sorting components to build your own sorter. + + +## Documentation + +Detailed documentation for 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). + +There are also some useful notebooks [on our blog](https://spikeinterface.github.io) that cover advanced benchmarking +and sorting components. + +You can also have a look at the [spikeinterface-gui](https://github.com/SpikeInterface/spikeinterface-gui). + + +## How to install spikeinteface + +You can install the new `spikeinterface` version with pip: + +```bash +pip install spikeinterface[full] +``` + +The `[full]` option installs all the extra dependencies for all the different sub-modules. + +To install all interactive widget backends, you can use: + +```bash + pip install spikeinterface[full,widgets] +``` + + +To get the latest updates, you can install `spikeinterface` from sources: + +```bash +git clone https://github.com/SpikeInterface/spikeinterface.git +cd spikeinterface +pip install -e . +cd .. +``` + + +## Citation + +If you find SpikeInterface useful in your research, please cite: + +```bibtex +@article{buccino2020spikeinterface, + title={SpikeInterface, a unified framework for spike sorting}, + author={Buccino, Alessio Paolo and Hurwitz, Cole Lincoln and Garcia, Samuel and Magland, Jeremy and Siegle, Joshua H and Hurwitz, Roger and Hennig, Matthias H}, + journal={Elife}, + volume={9}, + pages={e61834}, + year={2020}, + publisher={eLife Sciences Publications Limited} +} +``` + + +%package -n python3-spikeinterface +Summary: Python toolkit for analysis, visualization, and comparison of spike sorting output +Provides: python-spikeinterface +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-spikeinterface +# SpikeInterface: a unified framework for spike sorting + +<table> +<tr> + <td>Latest Release</td> + <td> + <a href="https://pypi.org/project/spikeinterface/"> + <img src="https://img.shields.io/pypi/v/spikeinterface.svg" alt="latest release" /> + </a> + </td> +</tr> +<tr> + <td>Documentation</td> + <td> + <a href="https://spikeinterface.readthedocs.io/"> + <img src="https://readthedocs.org/projects/spikeinterface/badge/?version=latest" alt="latest documentation" /> + </a> + </td> +</tr> +<tr> + <td>License</td> + <td> + <a href="https://github.com/SpikeInterface/spikeinterface/blob/master/LICENSE"> + <img src="https://img.shields.io/pypi/l/spikeinterface.svg" alt="license" /> + </a> +</td> +</tr> +<tr> + <td>Build Status</td> + <td> + <a href="https://github.com/SpikeInterface/spikeinterface/actions/workflows/full-test.yml/badge.svg"> + <img src="https://github.com/SpikeInterface/spikeinterface/actions/workflows/full-test.yml/badge.svg" alt="travis build status" /> + </a> + </td> +</tr> +<tr> + <td>Codecov</td> + <td> + <a href="https://codecov.io/github/spikeinterface/spikeinterface"> + <img src="https://codecov.io/gh/spikeinterface/spikeinterface/branch/master/graphs/badge.svg" alt="codecov" /> + </a> + </td> +</tr> +</table> + +[](https://twitter.com/spikeinterface) [](https://fosstodon.org/@spikeinterface) + + +SpikeInterface is a Python framework designed to unify preexisting spike sorting technologies into a single code base. + +Please [Star](https://github.com/SpikeInterface/spikeinterface/stargazers) the project to support us and [Watch](https://github.com/SpikeInterface/spikeinterface/subscription) to always stay up-to-date! + + +With SpikeInterface, users can: + +- read/write many extracellular file formats. +- pre-process extracellular recordings. +- run many popular, semi-automatic spike sorters (also in Docker/Singularity containers). +- post-process sorted datasets. +- compare and benchmark spike sorting outputs. +- compute quality metrics to validate and curate spike sorting outputs. +- visualize recordings and spike sorting outputs in several ways (matplotlib, sortingview, in jupyter) +- export report and export to phy +- offer a powerful Qt-based viewer in separate package [spikeinterface-gui](https://github.com/SpikeInterface/spikeinterface-gui) +- have some powerful sorting components to build your own sorter. + + +## Documentation + +Detailed documentation for 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). + +There are also some useful notebooks [on our blog](https://spikeinterface.github.io) that cover advanced benchmarking +and sorting components. + +You can also have a look at the [spikeinterface-gui](https://github.com/SpikeInterface/spikeinterface-gui). + + +## How to install spikeinteface + +You can install the new `spikeinterface` version with pip: + +```bash +pip install spikeinterface[full] +``` + +The `[full]` option installs all the extra dependencies for all the different sub-modules. + +To install all interactive widget backends, you can use: + +```bash + pip install spikeinterface[full,widgets] +``` + + +To get the latest updates, you can install `spikeinterface` from sources: + +```bash +git clone https://github.com/SpikeInterface/spikeinterface.git +cd spikeinterface +pip install -e . +cd .. +``` + + +## Citation + +If you find SpikeInterface useful in your research, please cite: + +```bibtex +@article{buccino2020spikeinterface, + title={SpikeInterface, a unified framework for spike sorting}, + author={Buccino, Alessio Paolo and Hurwitz, Cole Lincoln and Garcia, Samuel and Magland, Jeremy and Siegle, Joshua H and Hurwitz, Roger and Hennig, Matthias H}, + journal={Elife}, + volume={9}, + pages={e61834}, + year={2020}, + publisher={eLife Sciences Publications Limited} +} +``` + + +%package help +Summary: Development documents and examples for spikeinterface +Provides: python3-spikeinterface-doc +%description help +# SpikeInterface: a unified framework for spike sorting + +<table> +<tr> + <td>Latest Release</td> + <td> + <a href="https://pypi.org/project/spikeinterface/"> + <img src="https://img.shields.io/pypi/v/spikeinterface.svg" alt="latest release" /> + </a> + </td> +</tr> +<tr> + <td>Documentation</td> + <td> + <a href="https://spikeinterface.readthedocs.io/"> + <img src="https://readthedocs.org/projects/spikeinterface/badge/?version=latest" alt="latest documentation" /> + </a> + </td> +</tr> +<tr> + <td>License</td> + <td> + <a href="https://github.com/SpikeInterface/spikeinterface/blob/master/LICENSE"> + <img src="https://img.shields.io/pypi/l/spikeinterface.svg" alt="license" /> + </a> +</td> +</tr> +<tr> + <td>Build Status</td> + <td> + <a href="https://github.com/SpikeInterface/spikeinterface/actions/workflows/full-test.yml/badge.svg"> + <img src="https://github.com/SpikeInterface/spikeinterface/actions/workflows/full-test.yml/badge.svg" alt="travis build status" /> + </a> + </td> +</tr> +<tr> + <td>Codecov</td> + <td> + <a href="https://codecov.io/github/spikeinterface/spikeinterface"> + <img src="https://codecov.io/gh/spikeinterface/spikeinterface/branch/master/graphs/badge.svg" alt="codecov" /> + </a> + </td> +</tr> +</table> + +[](https://twitter.com/spikeinterface) [](https://fosstodon.org/@spikeinterface) + + +SpikeInterface is a Python framework designed to unify preexisting spike sorting technologies into a single code base. + +Please [Star](https://github.com/SpikeInterface/spikeinterface/stargazers) the project to support us and [Watch](https://github.com/SpikeInterface/spikeinterface/subscription) to always stay up-to-date! + + +With SpikeInterface, users can: + +- read/write many extracellular file formats. +- pre-process extracellular recordings. +- run many popular, semi-automatic spike sorters (also in Docker/Singularity containers). +- post-process sorted datasets. +- compare and benchmark spike sorting outputs. +- compute quality metrics to validate and curate spike sorting outputs. +- visualize recordings and spike sorting outputs in several ways (matplotlib, sortingview, in jupyter) +- export report and export to phy +- offer a powerful Qt-based viewer in separate package [spikeinterface-gui](https://github.com/SpikeInterface/spikeinterface-gui) +- have some powerful sorting components to build your own sorter. + + +## Documentation + +Detailed documentation for 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). + +There are also some useful notebooks [on our blog](https://spikeinterface.github.io) that cover advanced benchmarking +and sorting components. + +You can also have a look at the [spikeinterface-gui](https://github.com/SpikeInterface/spikeinterface-gui). + + +## How to install spikeinteface + +You can install the new `spikeinterface` version with pip: + +```bash +pip install spikeinterface[full] +``` + +The `[full]` option installs all the extra dependencies for all the different sub-modules. + +To install all interactive widget backends, you can use: + +```bash + pip install spikeinterface[full,widgets] +``` + + +To get the latest updates, you can install `spikeinterface` from sources: + +```bash +git clone https://github.com/SpikeInterface/spikeinterface.git +cd spikeinterface +pip install -e . +cd .. +``` + + +## Citation + +If you find SpikeInterface useful in your research, please cite: + +```bibtex +@article{buccino2020spikeinterface, + title={SpikeInterface, a unified framework for spike sorting}, + author={Buccino, Alessio Paolo and Hurwitz, Cole Lincoln and Garcia, Samuel and Magland, Jeremy and Siegle, Joshua H and Hurwitz, Roger and Hennig, Matthias H}, + journal={Elife}, + volume={9}, + pages={e61834}, + year={2020}, + publisher={eLife Sciences Publications Limited} +} +``` + + +%prep +%autosetup -n spikeinterface-0.97.1 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-spikeinterface -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.97.1-1 +- Package Spec generated |