Electrophysiology analysis package for large-scale electrophysiology
! This package is under heavy development - we'll post here when stable!
This package aims to provide transparent access to the code being used to process and analyse data; the documentation will provide references and (hopefully) a description of what the code is doing in each step.
We typically install spks
in environments with other packages so kept dependencies to a minimum
numpy
- array handling and loadingscipy
- interpolation and othermatplotlib
- plottingtorch
- speed up some taskspandas
- make tables and save filesh5py
- save dictionariesnatsort
- sort filestqdm
- progress barsjoblib
- multiprocess pools
- clone the repository
git clone https://github.com/spkware/spks.git
usually in a separate folder - install dependencies with
pip
or which ever way you want - go into the newly created
spks
folder and install withpython setup.py develop
Recommended to avoid interfering with other packages or for users new to python.
- install the anaconda python distribution
- create a new environment from a terminal
conda create -n spks
and activate itconda activate spks
- install
torch
in the environmentconda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia
and then install the dependenciesconda install pandas h5py natsort tqdm scipy joblib jupyter matplotlib
you can use other versions of pytorch depending on which graphics driver is installed. A gpu is not required. - install
spks
using pippip install git+https://github.com/spkware/spks.git@main