Installation

Requirements

Tensorpac relies on three packages :

Then if you want to be able to plot your results you’ll need to install Matplotlib.

Some additional packages might also be required, in particular :

  • MNE Python for running some examples, in particular some statistical functions are needed

  • Numba, a Python compiler to speed up some functions

Standard installation

Tensorpac can be installed using pip. In a terminal, run the following command :

pip install tensorpac

And if you want want to update to the latest version :

pip install -U tensorpac

Install the most up-to-date version

The latest version is hosted on github. This is always going to be the most up-to-date version, with the latest features and fixes. If you want to install this version, open a terminal and run the following commands :

git clone https://github.com/EtienneCmb/tensorpac.git
cd tensorpac/
python setup.py develop

Finally, if you want to update your version you can use :

git pull