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.gitusually in a separate folder - install dependencies with
pipor which ever way you want - go into the newly created
spksfolder 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 spksand activate itconda activate spks - install
torchin the environmentconda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidiaand then install the dependenciesconda install pandas h5py natsort tqdm scipy joblib jupyter matplotlibyou can use other versions of pytorch depending on which graphics driver is installed. A gpu is not required. - install
spksusing pippip install git+https://github.com/spkware/spks.git@main