Skip to main content

MVPURE-PY package

mvpure_py logo

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

  1. Overview
  2. Features
  3. Dependencies
  4. Installation
    • From source
  5. Tutorial & Examples
  6. 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

To install from GitHub:

  1. Clone the repository
git clone https://github.com/julia-jurkowska/mvpure-tools.git
cd mvpure-tools
  1. (Optional) create a virtual environment
python3 -m venv venv
source venv/bin/activate
  1. Install dependencies
pip install -r requirements.txt
  1. Install the package
pip install .

or for development mode:

pip install -e .
  1. Verify installation:
import mvpure_py
from mvpure_py import localizer

Tutorial & Examples

See tutorials on documentation site: documentation.

The tutorials walk you through:

  1. Preprocessing (filtering, artifact rejection, ICA, epoching)
  2. Estimation of number of sources and rank
  3. Localization of sources using neural activity indices
  4. Reconstruction of time courses
  5. 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.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mvpure-py 2.3.3
File Size Uploaded Provenance Actions
mvpure_py-2.3.3.tar.gz 239.8 kB With provenance Details for mvpure_py-2.3.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mvpure-py 2.3.3
File Interpreter ABI Platform Actions
mvpure_py-2.3.3-py3-none-any.whl Python 3 none any Details for mvpure_py-2.3.3-py3-none-any.whl

Total release size: 287.0 kB

Release files / mvpure_py-2.3.3.tar.gz

Download URL mvpure_py-2.3.3.tar.gz
Size 239.8 kB
Tags Source
SHA-256 checksum
How to use checksums
952f98b2365543668894de2f2ba261f6560e3525c8b7a18cb4ea3361388806da
BLAKE2b-256 checksum
How to use checksums
3adada63863c145eefb4f6cad9a9b5ff6648663aa7a4a65d1f77c6929e1a23de
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 Oct 29, 2026.

Transparency log

Release files / mvpure_py-2.3.3-py3-none-any.whl

Download URL mvpure_py-2.3.3-py3-none-any.whl
Size 47.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
477ba0a92420f18e0ca1d072acc13220dd195c5cfbe6e108df90a314ef19075d
BLAKE2b-256 checksum
How to use checksums
345a7fbeb69db138a4726bfca68b0d8939fae53c5d3eea4299c938a3acfb1470
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 Oct 29, 2026.

Transparency log

Security for mvpure-py 2.3.3

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.

Select from 2 files

Attestation for mvpure_py-2.3.3.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 Oct 29, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page