The Hyperscanning Python Pipeline
📖 See our paper for more explanation and our plan for upcoming functionalities (aka Roadmap).
🤝 If you want to help you can submit bugs and suggestions of enhancements in our Github Issues section.
🤓 For the motivated contributors, you can even help directly in the development of HyPyP. You will need to install Poetry (see section below).
Original authors: Florence BRUN, Anaël AYROLLES, Phoebe CHEN, Amir DJALOVSKI, Yann BEAUXIS, Suzanne DIKKER, Guillaume DUMAS
New contributors: Rémy RAMADOUR, Patrice FORTIN, Ghazaleh RANJBARAN, Quentin MOREAU, Caitriona DOUGLAS, Franck PORTEOUS, Jonas MAGO, Juan C. AVENDANO, Julie BONNAIRE
pip install HyPyP
HyPyP documentation of all the API functions is available online at hypyp.readthedocs.io
For getting started with HyPyP, we have designed a little walkthrough: getting_started.ipynb
🛠 io.py — Loaders (Florence, Anaël, Ghazaleh, Franck, Jonas, Guillaume)
🧰 utils.py — Basic tools (Amir, Florence, Guillaume)
⚙️ prep.py — Preprocessing (ICA & AutoReject) (Anaël, Florence, Guillaume)
🔠 analyses.py — Power spectral density and wide choice of connectivity measures (Phoebe, Suzanne, Florence, Ghazaleh, Juan, Guillaume)
📈 stats.py — Statistics (permutations & cluster statistics) (Florence, Guillaume)
🧠 viz.py — Inter-brain visualization (Anaël, Amir, Florence, Guillaume)
🎓 Tutorials - Examples & documentation (Anaël, Florence, Yann, Ghazaleh, Caitriona, Guillaume)
To develop HyPyP, we recommend using Poetry 2.x. Follow these steps:
pip install poetrygit clone git@github.com:ppsp-team/HyPyP.git
cd HyPyPpoetry installNote: By default, dev dependencies (including JupyterLab) are not included in the main dependencies. To install development dependencies, you can run:
poetry install --with devInstead of entering a shell, launch Jupyter Lab directly within the Poetry environment:
poetry run jupyter lab- Install Poetry Plugins:
To have full functionality with Poetry, add the following plugins:
poetry self add poetry-plugin-shell
poetry self add poetry-plugin-export- VS Code Integration:
To make the Poetry virtual environment available in VS Code, you might need to set Poetry to create in-project virtual environments. You can do this either by running:
poetry config virtualenvs.in-project trueor by adding the following line to your .bashrc or .zshrc:
poetry config virtualenvs.in-project trueThis project is licensed under the BSD 3-Clause License. See the license for details.