MVPURE-PY package
EEG/MEG Multi-Source Localizers with mvpure-py
Extends MNE-Python with multi-source neural activity indices and spatial filters.
Based on “Multi-Source Neural Activity Indices for EEG/MEG Localization: A Two-Stage Spatial Filtering Framework and Extension to MNE-Python”.
Repository: GitHub
Tutorial & online docs: mvpure_py documentation
Table of Contents
- Overview
- Features
- Dependencies
- Installation
- From source
- Tutorial & Examples
- Citation
Overview
The mvpure-tools package implements multi-source neural activity indices for EEG / MEG source localization, extending MNE-Python’s API. It enables improved reconstruction when sources may be correlated, overcoming limitations of single-source beamforming methods (e.g. LCMV) in certain settings.
Key contributions include:
- Algebraic, compact forms for multi-source neural activity indices
- Seamless integration into MNE-Python workflows (covariance, forward/inverse handling, visualization)
- A step-by-step tutorial using real EEG data (oddball paradigm, synthetic data)
Features
- Neural activity indices (MAI_MVP) in the multi-source setting
- Iterative localization algorithms compatible with large candidate source sets
- Built on top of MNE-Python, so you can combine it with standard EEG / MEG toolchains
- Tutorial and example scripts included
Dependencies
Before installing, make sure you have:
- Python
- MNE-Python
- NumPy, SciPy
- (Other dependencies listed in
requirements.txt)
Installation
From Source (recommended)
To install from GitHub:
- Clone the repository
git clone https://github.com/julia-jurkowska/mvpure-tools.git
cd mvpure-tools
- (Optional) create a virtual environment
python3 -m venv venv
source venv/bin/activate
- Install dependencies
pip install -r requirements.txt
- Install the package
pip install .
or for development mode:
pip install -e .
- Verify installation:
import mvpure_py
from mvpure_py import localizer
Tutorial & Examples
See tutorials on documentation site: documentation.
The tutorials walk you through:
- Preprocessing (filtering, artifact rejection, ICA, epoching)
- Estimation of number of sources and rank
- Localization of sources using neural activity indices
- Reconstruction of time courses
- Visualization of estimated sources
Citation
If you use mvpure_py in your work, please cite:
Jurkowska, J., Dreszer, J., Lewandowska, M., Tolpa, K., Piotrowski, T., Multi-source neural activity indices for EEG/MEG localization: A two-stage spatial filtering framework and extension to MNE-Python, NeuroImage, Volume 339, 2026, 122126, https://doi.org/10.1016/j.neuroimage.2026.122126.
Metadata
Release files for mvpure-py 2.3.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mvpure_py-2.3.5.tar.gz | 239.9 kB | With provenance | Details for mvpure_py-2.3.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mvpure_py-2.3.5-py3-none-any.whl | Python 3 | none | any | Details for mvpure_py-2.3.5-py3-none-any.whl |
Total release size: 287.1 kB
Release files / mvpure_py-2.3.5.tar.gz
| Download URL | mvpure_py-2.3.5.tar.gz |
|---|---|
| Size | 239.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fa7e98e9b73f339c3ed9422f1cddcec3c6fad14881087225dadcbe1c3f86bfca
|
|
BLAKE2b-256 checksum How to use checksums |
52331c3c23d7528581261f0c1b581baa623f88b249b0f9d9097f634b76668896
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.
Transparency logRelease files / mvpure_py-2.3.5-py3-none-any.whl
| Download URL | mvpure_py-2.3.5-py3-none-any.whl |
|---|---|
| Size | 47.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
75664b3fff48cfb5a120a72a17d1d512fa0200286ac971caba0d396465fa454f
|
|
BLAKE2b-256 checksum How to use checksums |
0421107449d6db4c3bfc69d0f3dbd334f7a5809c7c80a8c3a7cf5b406b502529
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.
Transparency logSecurity for mvpure-py 2.3.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for mvpure_py-2.3.5.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.