0.2.0¶
Signal-processing accuracy & honesty¶
- Per-reading confidence. Every
BrainStatenow carriesconfidence(0..1), per-metricmetric_confidence, and astatus(ok/warming_up/unreliable), folding in signal quality, calibration, and window fill. Surfaced through the MCPget_brain_state,get_signal_quality, andstream_summarytools. - Artifact handling, not just detection. Hard artifacts (
flatline,railing) orpoorsignal mark a readingunreliableand collapse its confidence, so contaminated windows are never narrated as clean. Added anemgartifact flag for implausibly large amplitudes. - Re-grounded metrics.
focusis now documented as the genuine Pope et al. (1995) engagement indexβ/(α+θ);engagementis a distinctβ/αarousal ratio (no longer mislabeled "Pope-style");fatigueuses the Eoh et al. (2005)(θ+α)/βindex;meditationis relative alphaα/(α+β+θ)— decoupled from theta so it no longer confounds with drowsiness/fatigue. Delta and gamma are excluded from metrics (drift/EMG-dominated on consumer hardware). Each metric ships a formula + basis + caveat via the newget_metric_definitionsMCP tool. - Calibration fix. Bounded metrics (
calm,meditation) are centered at 0.5 uncalibrated instead of being capped low; unbounded ratios stay centered at 1.0. - DSP fixes. Longer default analysis window (2 s) with Welch segment averaging for stable low-frequency band power; narrow-band single-bin integration no longer silently returns 0; notch is applied before the bandpass.
0.1.0¶
- Device-agnostic EEG acquisition: synthetic, NeuroFocus (serial + BLE), OpenBCI/Muse via BrainFlow, LSL, generic serial, recording playback.
- DSP pipeline: band powers (δ θ α β γ), focus/calm/attention/engagement/fatigue/meditation metrics, signal quality + artifacts, calibration.
- Real Model Context Protocol server (FastMCP, stdio) with tools, resources, and a prompt.
- CLI: devices, stream, record, play, neurofeedback, dashboard, serve.
- Recording (CSV/npz/EDF) + replay, neurofeedback trainer, LSL publisher, FastAPI web dashboard.