Installation ================= We provide MATLAB and Python implementations for SPICE. MATLAB ----------------- Download the matlab_spice folder from `SPICE GitHUB repository `_ and add to path. .. code-block:: MATLAB addpath(genpath('matlab_spice')) Python ----------------- Implementation is available from PyPI distribution, and you may also clone and install manually from the `SPICE GitHUB repository `_ . .. note:: The package is distributed on PyPI under the name :code:`brainspice`, but is imported in Python as :code:`spice` after installation. PyPI Installation ~~~~~~~~~~~~~~~~~~~~~~ .. code-block:: bash pip install brainspice Import in python ~~~~~~~~~~~~~~~~~~~~~~~~ .. code-block:: python import spice