diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-10 22:51:44 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-10 22:51:44 +0000 |
commit | 76ecc65567d380ccc6c145e6753a0ed5fd2de293 (patch) | |
tree | 799da5e74f71c118a3f2c8dc95fe327954220190 | |
parent | 974a9087e8c3df7f64456d06a57ab06fe2b14245 (diff) |
automatic import of python-probeinterface
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-probeinterface.spec | 199 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 201 insertions, 0 deletions
@@ -0,0 +1 @@ +/probeinterface-0.2.16.tar.gz diff --git a/python-probeinterface.spec b/python-probeinterface.spec new file mode 100644 index 0000000..d398102 --- /dev/null +++ b/python-probeinterface.spec @@ -0,0 +1,199 @@ +%global _empty_manifest_terminate_build 0 +Name: python-probeinterface +Version: 0.2.16 +Release: 1 +Summary: Python package to handle probe layout, geometry and wiring to device. +License: MIT License +URL: https://pypi.org/project/probeinterface/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/dd/3d/27dbfa13b8fa5fcbc6ed183f8ae7ff88a2c49f5f1da6214b9b5781558790/probeinterface-0.2.16.tar.gz +BuildArch: noarch + +Requires: python3-numpy +Requires: python3-pillow +Requires: python3-sphinx-gallery +Requires: python3-matplotlib +Requires: python3-scipy +Requires: python3-pandas +Requires: python3-pytest +Requires: python3-matplotlib +Requires: python3-scipy +Requires: python3-pandas + +%description +# probeinterface + +A Python package to handle the layout, geometry, and wiring of silicon probes for extracellular electrophysiology experiments. + +Documentation : https://probeinterface.readthedocs.io/ + + +## Goals + +Make a lightweight package to handle: + + * probe contact geometry (both 2D and 3D layouts) + * probe shape (contour of the probe, shape of channel contact, ...) + * probe wiring to device (the physical layout often doesn't match the channel ordering) + * combining several probes into a device with global geometry + global wiring + * exporting probe geometry data into JSON files + * loading existing probe geometry files (Neuronexus, imec, Cambridge Neurotech...) [Started here](https://gin.g-node.org/spikeinterface/probeinterface_library) + +Bonus : + + * optional plotting (based on `matplotlib`) + * load/save geometry using common formats (PRB, CSV, NWB, ...) + * handle SI length units correctly um/mm/... + + +Target users/projet : + + * spikeinterface team : integrate this into spikeextractor for channel location + * neo team : handle array_annotations for AnalogSignal + * spikeforest team : use this package for ploting probe activity + * phy team: integrate for probe display + * spyking-circus team : handle probe with this package + * kilosort team : handle probe with this package + * tridesclous team : handle probe with this package + * open ephys team : automatically generate channel map configuration files + + + Author: Samuel Garcia + + + +%package -n python3-probeinterface +Summary: Python package to handle probe layout, geometry and wiring to device. +Provides: python-probeinterface +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-probeinterface +# probeinterface + +A Python package to handle the layout, geometry, and wiring of silicon probes for extracellular electrophysiology experiments. + +Documentation : https://probeinterface.readthedocs.io/ + + +## Goals + +Make a lightweight package to handle: + + * probe contact geometry (both 2D and 3D layouts) + * probe shape (contour of the probe, shape of channel contact, ...) + * probe wiring to device (the physical layout often doesn't match the channel ordering) + * combining several probes into a device with global geometry + global wiring + * exporting probe geometry data into JSON files + * loading existing probe geometry files (Neuronexus, imec, Cambridge Neurotech...) [Started here](https://gin.g-node.org/spikeinterface/probeinterface_library) + +Bonus : + + * optional plotting (based on `matplotlib`) + * load/save geometry using common formats (PRB, CSV, NWB, ...) + * handle SI length units correctly um/mm/... + + +Target users/projet : + + * spikeinterface team : integrate this into spikeextractor for channel location + * neo team : handle array_annotations for AnalogSignal + * spikeforest team : use this package for ploting probe activity + * phy team: integrate for probe display + * spyking-circus team : handle probe with this package + * kilosort team : handle probe with this package + * tridesclous team : handle probe with this package + * open ephys team : automatically generate channel map configuration files + + + Author: Samuel Garcia + + + +%package help +Summary: Development documents and examples for probeinterface +Provides: python3-probeinterface-doc +%description help +# probeinterface + +A Python package to handle the layout, geometry, and wiring of silicon probes for extracellular electrophysiology experiments. + +Documentation : https://probeinterface.readthedocs.io/ + + +## Goals + +Make a lightweight package to handle: + + * probe contact geometry (both 2D and 3D layouts) + * probe shape (contour of the probe, shape of channel contact, ...) + * probe wiring to device (the physical layout often doesn't match the channel ordering) + * combining several probes into a device with global geometry + global wiring + * exporting probe geometry data into JSON files + * loading existing probe geometry files (Neuronexus, imec, Cambridge Neurotech...) [Started here](https://gin.g-node.org/spikeinterface/probeinterface_library) + +Bonus : + + * optional plotting (based on `matplotlib`) + * load/save geometry using common formats (PRB, CSV, NWB, ...) + * handle SI length units correctly um/mm/... + + +Target users/projet : + + * spikeinterface team : integrate this into spikeextractor for channel location + * neo team : handle array_annotations for AnalogSignal + * spikeforest team : use this package for ploting probe activity + * phy team: integrate for probe display + * spyking-circus team : handle probe with this package + * kilosort team : handle probe with this package + * tridesclous team : handle probe with this package + * open ephys team : automatically generate channel map configuration files + + + Author: Samuel Garcia + + + +%prep +%autosetup -n probeinterface-0.2.16 + +%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-probeinterface -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.16-1 +- Package Spec generated @@ -0,0 +1 @@ +b17d031f13863db1be18bdbf4678d00a probeinterface-0.2.16.tar.gz |