Skip to main content

pineuro

Python for Individualized Neurofeedback

A Python library for real-time fMRI neurofeedback research. pineuro provides a complete pipeline from DICOM acquisition through preprocessing, network mask extraction, and moment-to-moment BOLD activation estimation, with a desktop GUI for study management and participant workflows.

Features

Core pipeline

  • DICOM processing: Watch for incoming scanner DICOMs and process volumes as they arrive
  • Preprocessing: Motion correction, brain extraction, and multi-run coregistration (ANTsPy)
  • ICA mask extraction: Participant-specific network masks via ICA and Yeo atlas
  • GLM mask extraction: Network masks from task localizer contrasts
  • MNI atlas masks: Atlas-based ROIs without a localizer run
  • Incremental GLM: Online activation estimation using Gentleman's algorithm
  • Connectivity feedback: Real-time functional connectivity between network pairs

Study management

  • Desktop GUI: Study configuration and participant workflows (pineuro-gui)
  • Session orchestration: Multi-run and multi-session protocols
  • Sham / control conditions: Sham feedback, replay providers, and randomization
  • QC reports: HTML quality reports for each pipeline stage

Task framework

  • Built-in tasks: Gauge (dual-network block design), ball (dual-network adaptive), thermometer (single-network), and RIT variants
  • Task plugin system: @pineuro_task decorator and entry-point registration
  • Simulation mode: Offline DICOM replay at configurable speed

Installation

Requires Python 3.10 or 3.11 (>=3.10,<3.12). All dependencies are pure pip; no external tools required.

pip install pineuro

See the Installation Guide for platform-specific notes (on Linux, install wxPython first), installing from source, and troubleshooting.

GUI

pineuro-gui

The desktop GUI provides study configuration, participant workflows, live activation plots, and QC reports. See the First Session Tutorial for a complete walkthrough.

Documentation

Getting started

User guide: Full index

Pipeline Overview · Study Configuration · Preprocessing · Mask Extraction · Feedback Tasks · Tasks · Sham & Blinding · Multi-Session · Display Setup · Simulation Mode · QC Reports · Network Testing

Citation

If you use pineuro in your research, please cite:

Vandewouw, M. M. (2026). pineuro: Python for Individualized Neurofeedback.
https://github.com/WhitfieldGabrieli-EPICBrainLab/pineuro

License

Apache License 2.0. See LICENSE for details.

Metadata

Release files for pineuro 1.2.0

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

Source distribution (sdist)

Source distribution for pineuro 1.2.0
File Size Uploaded Provenance Actions
pineuro-1.2.0.tar.gz 669.3 kB Without provenance Details for pineuro-1.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pineuro 1.2.0
File Interpreter ABI Platform Actions
pineuro-1.2.0-py3-none-any.whl Python 3 none any Details for pineuro-1.2.0-py3-none-any.whl

Total release size: 1.3 MB

Release files / pineuro-1.2.0.tar.gz

Download URL pineuro-1.2.0.tar.gz
Size 669.3 kB
Tags Source
SHA-256 checksum
How to use checksums
fe9495c9b1b753e23582c4a215bf55f8fae56f943be73c8c83713c4f31c5bfe9
BLAKE2b-256 checksum
How to use checksums
528460b892473b7ceb6112637528dcd6713163e484b565143450ee361fe0f746
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.11

Release files / pineuro-1.2.0-py3-none-any.whl

Download URL pineuro-1.2.0-py3-none-any.whl
Size 652.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b82ac1eb0b3ba0708da9127e2898425835f97b952f0ad8083bf4a1a3a700231d
BLAKE2b-256 checksum
How to use checksums
18fb8a201bae23e02453c4431b037301089859f74c1722795df879f743073eef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.11

Security for pineuro 1.2.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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