Analysis of neuroelectrophysiology data in Python.
| CI/CD | |
| Package | |
| Repository | |
| Metadata |
neuro_py is a Python package for analysis of neuroelectrophysiology data. It is built on top of the nelpy package, which provides core data objects. neuro_py provides a set of functions for analysis of freely moving electrophysiology, including behavior tracking utilities, neural ensemble detection, peri-event analyses, robust batch analysis tools, and more.
Tutorials are here and more will be added.
git clone
cd neuro_py
pip install -e .To sync the nelpy dependency to latest version, use following instead,
pip install -e . --force-reinstall --no-cache-dirimport neuro_py as npyFor ease of use, this package uses nelpy core data objects. See nelpy
python tools/run_pytest.pyTo run a narrow target, pass the usual pytest arguments through:
python tools/run_pytest.py tests/detectors/test_sharp_wave_ripple.py -qThis wrapper sets a few local defaults that make editable nelpy installs more reliable in development environments:
NUMBA_DISABLE_JIT=1PYTEST_DISABLE_PLUGIN_AUTOLOAD=1MPLBACKEND=Agg
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.