/opexebo

Collection of python code for electrophysiology /ɪˌlɛktrəʊfɪzɪˈɒlədʒi/

Primary LanguagePythonMIT LicenseMIT

opexebo

Build Status codecov Documentation Status

This library provides various analysis tools written by and for the Moser group at the Kavli Institute in Trondheim.

The package contains a mixture of translations of the older MatLab based Behavioural Neurology Toolbox, and other functions written only in Python 3, as part of the transition towards providing open access to research code.

Documentation

Specifications and documentation for opexebo are available on Read the Docs.

Installation

Install with pip:

pip install opexebo

Opexebo has an optional dependency, sep, that is not installed by default. To be able to install it, you require a C++ compiler installed on your system. On Linux, gcc will do the job. On Windows, the the Microsoft Visual C++ Build Tools fulfil the same role (https://www.microsoft.com/en-us/download/details.aspx?id=48159). To force installation of all optional dependencies, append [full] to the install command, for example:

pip install opexebo[full]

Tests

Tests are implemented with pytest. Ensure that the various development tools are installed via

pip install -r dev-requirements.txt

And then run tests with pytest .