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

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

Built distribution (wheel)

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

Release files / pineuro-1.0.0-1-py3-none-any.whl

Download URL pineuro-1.0.0-1-py3-none-any.whl
Size 609.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b6e139f16fb4948c16a916efa69dd6cdf5d6570aa74ce0387947f44ddac3774f
BLAKE2b-256 checksum
How to use checksums
2efa0923968d3cd0ef140def1c223eec2a0db817d8d3bf562461e5003d95c307
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.0.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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file No provenance

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