API Reference#
This page provides the complete API reference for MNE-RT.
Core#
Real-time Real-time M/EEG session controller. |
|
Event-triggered epoch accumulator backed by |
Visualisation#
Scrolling real-time neurofeedback signal monitor. |
|
Scrolling raw M/EEG channel viewer. |
|
Real-time scrolling M/EEG viewer with epoch / trigger overlays. |
|
Interactive real-time 3D brain activation display. |
|
Real-time scalp topomap showing per-band power distribution. |
|
Real-time scalp-layout ERP display. |
|
Real-time butterfly plot: all EEG/MEG channels overlaid per condition. |
|
Real-time time-frequency representation (TFR). |
|
Real-time per-channel condition overlay with SEM shading and peak markers. |
Artifact correction#
Adaptive LMS filter for real-time EOG / ECG artifact removal. |
|
Online Recursive ICA (ORICA) for EEG data. |
|
Artifact removal via Generalised Eigendecomposition-based Artifact Identification (GEDAI). |
|
Artifact Subspace Reconstruction (ASR) for streaming EEG. |
|
Real-time Maxwell filtering (SSS / tSSS) for streaming MEG data. |
Quality control#
Multi-criterion real-time bad channel detector for streaming M/EEG. |
|
Online EEG/MEG artifact detector based on the Riemannian Potato. |
NF Protocols#
See NF Protocols for the full protocol guide with formulas and examples.
Threshold-based NF reward protocol with optional adaptive threshold. |
|
Z-score feedback protocol with rolling baseline normalisation. |
|
Percentile-based NF reward protocol with rolling history. |
|
Reward protocol that detects a statistically significant NF trend. |
|
Wraps any NF protocol with sham (double-blind) feedback. |
|
Up-down adaptive staircase threshold protocol. |
|
Reward protocol for simultaneous two-band control. |
|
Adaptive NF protocol with reinforcement-learning threshold updates. |
|
Operant conditioning reinforcement-schedule wrapper. |
|
Cross-session transfer NF protocol seeded from a prior-session file. |
Feature combiners#
Reduce multiple parallel NF feature values to a single mixed feedback score.
See FeatureCombiner for the base-class interface.
Abstract base class for multi-feature NF combiners. |
|
Weighted linear combination of feature values. |
|
Geometric mean of (positive) feature values. |
|
Euclidean norm after online z-score normalisation of each feature. |
|
Data-driven combination via a fitted sklearn-compatible estimator. |
Feedback output#
Thread-safe OSC client that broadcasts NF feature values. |
|
Thread-safe LSL outlet that broadcasts NF feature values. |
Tools & utilities#
Generate a synthetic EEG or MEG recording with a sinusoidal source. |
|
Generate a realistic multi-artifact EEG simulation for NF testing. |
|
Feature-extraction engine for all ANT NF modalities. |
BIDS I/O#
Save a neurofeedback session in BIDS format. |
Logging#
Set the ANT (and MNE) logging level. |