Back to Hermes Agent

NeuroSkill Metric Definitions & Interpretation Guide

optional-skills/health/neuroskill-bci/references/metrics.md

2026.6.59.3 KB
Original Source

NeuroSkill Metric Definitions & Interpretation Guide

⚠️ Research Use Only: All metrics are experimental and derived from consumer-grade hardware (Muse 2/S). They are not FDA/CE-cleared and must not be used for medical diagnosis or treatment.


Hardware & Signal Acquisition

NeuroSkill is validated for Muse 2 and Muse S headbands (with OpenBCI support in the desktop app), streaming at 256 Hz (EEG) and 64 Hz (PPG).

Electrode Positions (International 10-20 System)

ChannelElectrodePositionPrimary Signals
CH1TP9Left MastoidAuditory cortex, verbal memory, jaw-clench artifact
CH2AF7Left PrefrontalExecutive function, approach motivation, eye blinks
CH3AF8Right PrefrontalEmotional regulation, vigilance, eye blinks
CH4TP10Right MastoidProsody, spatial hearing, non-verbal cognition

Preprocessing Pipeline

  1. Filtering: High-pass (0.5 Hz), Low-pass (50/60 Hz), Notch filter
  2. Spectral Analysis: Hann-windowed FFT (512-sample window), Welch periodogram
  3. GPU acceleration: ~125ms latency via gpu_fft

EEG Frequency Bands

Relative power values (sum ≈ 1.0 across all bands):

BandRange (Hz)High MeansLow Means
Delta (δ)1–4Deep sleep (N3), high-amplitude artifactsAwake, alert
Theta (θ)4–8Drowsiness, REM onset, creative ideation, cognitive loadAlert, focused
Alpha (α)8–13Relaxed wakefulness, "alpha blocking" during effortActive thinking, anxiety
Beta (β)13–30Active concentration, problem-solving, alertnessRelaxed, unfocused
Gamma (γ)30–50Higher-order processing, perceptual binding, memoryBaseline

JSON Field Names

json
"bands": {
  "rel_delta": 0.28, "rel_theta": 0.18, "rel_alpha": 0.32,
  "rel_beta": 0.17, "rel_gamma": 0.05
}

Core Composite Scores (0–1 Scale)

Focus

  • Formula: σ(β / (α + θ)) — beta dominance over slow waves, sigmoid-mapped
  • > 0.70: Deep concentration, flow state, task absorption
  • 0.40–0.69: Moderate attention, some mind-wandering
  • < 0.40: Distracted, fatigued, difficulty concentrating

Relaxation

  • Formula: σ(α / (β + θ)) — alpha dominance, sigmoid-mapped
  • > 0.70: Calm, stress-free, parasympathetic dominant
  • 0.40–0.69: Mild tension present
  • < 0.30: Stressed, anxious, sympathetic dominant

Engagement

  • 0–1 scale: Active mental investment and motivation
  • > 0.70: Mentally invested, motivated, active processing
  • 0.40–0.69: Passive participation
  • < 0.30: Bored, disengaged, autopilot mode

Meditation

  • Composite: Combines alpha elevation, physical stillness (IMU), and HRV coherence
  • > 0.70: Deep meditative state
  • < 0.30: Active, non-meditative

Mood

  • Composite: Derived from FAA, TAR, and BAR
  • > 0.60: Positive affect, approach motivation
  • < 0.40: Low mood, withdrawal tendency

Cognitive Load

  • Formula: (P_θ_frontal / P_α_temporal) · f(FAA, TBR) — working memory usage
  • > 0.70: Working memory near capacity, complex processing
  • 0.40–0.69: Moderate mental effort
  • < 0.40: Task is easy or automatic
  • Interpretation: High load + high focus = productive struggle. High load + low focus = overwhelmed.

Drowsiness

  • Composite: Weighted TAR + TBR + falling Spectral Centroid
  • > 0.60: Sleep pressure building, micro-sleep risk
  • 0.30–0.59: Mild fatigue
  • < 0.30: Alert

EEG Ratios & Spectral Indices

MetricFormulaInterpretation
FAAln(P_α_AF8) − ln(P_α_AF7)Frontal Alpha Asymmetry. Positive = approach/positive affect. Negative = withdrawal/depression.
TARP_θ / P_αTheta/Alpha Ratio. > 1.5 = drowsiness or mind-wandering.
BARP_β / P_αBeta/Alpha Ratio. > 1.5 = alert, engaged cognition. Can also indicate anxiety.
TBRP_θ / P_βTheta/Beta Ratio. ADHD biomarker. Healthy ≈ 1.0, elevated > 1.5, clinical > 3.0.
APFargmax_f PSD(f) in [7.5, 12.5] HzAlpha Peak Frequency. Typical 8–12 Hz. Higher = faster cognitive processing. Slows with age/fatigue.
SNR10 · log₁₀(P_signal / P_noise)Signal-to-Noise Ratio. > 10 dB = clean, 3–10 dB = usable, < 3 dB = unreliable.
CoherenceInter-hemispheric coherence (0–1)Cortical connectivity between hemispheres.
Mu SuppressionMotor cortex suppression indexLow values during movement or motor imagery.

Complexity & Nonlinear Metrics

MetricDescriptionHealthy Range
Permutation Entropy (PE)Temporal complexity. Near 1 = maximally irregular.Consciousness marker
Higuchi Fractal Dimension (HFD)Waveform self-similarity.Waking: 1.3–1.8; higher = complex
DFA ExponentLong-range correlations.Healthy: 0.6–0.9
PSEPower Spectral Entropy. Near 1.0 = white noise.Lower = organized brain state
PAC θ-γPhase-Amplitude Coupling, theta-gamma.Working memory mechanism
BPSBand-Power Slope (1/f spectral exponent).Steeper = inhibition-dominated

Consciousness Metrics

Derived from the nonlinear metrics above:

MetricScaleInterpretation
LZC0–100Lempel-Ziv Complexity proxy (PE + HFD). > 60 = wakefulness.
Wakefulness0–100Inverse drowsiness composite.
Integration0–100Cortical integration (Coherence × PAC × Spectral Entropy).

Status thresholds: ≥ 50 Green, 25–50 Yellow, < 25 Red.


Cardiac & Autonomic Metrics (from PPG)

MetricDescriptionNormal / Green Range
HRHeart rate (bpm)55–90 (green), 45–110 (yellow), else red
RMSSDPrimary vagal tone marker (ms)> 50 ms healthy, < 20 ms stress
SDNNHRV time-domain variability (ms)Higher = better
pNN50Parasympathetic indicator (%)Higher = more parasympathetic activity
LF/HF RatioSympatho-vagal balance> 2.0 = stress, < 0.5 = relaxation
Stress IndexBaevsky SI: AMo / (2 × MxDMn × Mo)0–100 composite. > 200 raw = strong stress
SpO₂ EstimateBlood oxygen saturation (uncalibrated)95–100% normal (research only)
Respiratory RateBreaths per minute12–20 normal

Motion & Artifact Detection

MetricDescription
Stillness0–1 (1 = perfectly still). From IMU accelerometer/gyroscope.
Blink CountEye blinks detected (large spikes in AF7/AF8). Normal: 15–20/min.
Jaw Clench CountHigh-frequency EMG bursts (> 30 Hz) at TP9/TP10.
Nod CountHead nods detected via IMU.
Shake CountHead shakes detected via IMU.
Head Pitch/RollHead orientation from IMU.

Signal Quality (Per Electrode)

ElectrodeRangeInterpretation
TP90–1≥ 0.9 = good, ≥ 0.7 = acceptable, < 0.7 = poor
AF70–1Same thresholds
AF80–1Same thresholds
TP100–1Same thresholds

If any electrode is below 0.7, recommend the user adjust the headband fit or moisten the electrode contacts.


Sleep Staging

Based on 5-second epochs using relative band-power ratios and AASM heuristics:

StageCodeEEG SignatureFunction
Wake0Alpha-dominant, BAR > 0.8Conscious awareness
N11Alpha → Theta transitionLight sleep onset
N22Sleep spindles, K-complexesMemory consolidation
N3 (Deep)3Delta > 20% of epoch, DTR > 2Deep restorative sleep
REM4Active EEG, high Theta, low DeltaEmotional processing, dreaming

Healthy Adult Targets (~8h Sleep)

  • N3 (Deep): 15–25% of total sleep
  • REM: 20–25%
  • Sleep Efficiency: > 85%
  • Sleep Onset Latency: < 20 min

Composite State Patterns

PatternKey MetricsInterpretation
Flow StateFocus > 0.75, Engagement > 0.70, Cognitive Load 0.50–0.70, HR steadyOptimal performance zone — protect it
Mental FatigueFocus < 0.40, Drowsiness > 0.60, TBR > 1.5, Theta elevatedRest or break needed
AnxietyRelaxation < 0.30, HR elevated, high Beta, high BAR, stress_index highCalming intervention helpful
Peak AlertFocus > 0.80, Engagement > 0.70, Drowsiness < 0.20Best time for hard tasks
RecoveryRelaxation > 0.70, HRV (RMSSD) rising, Alpha dominantIntegration, light tasks only
Creative ModeHigh Theta, high Alpha, low Beta, moderate focusIdeation — don't force structure
WithdrawalFAA < 0, low Mood, low EngagementApproach motivation needed

ZUNA Embeddings

NeuroSkill uses the ZUNA Neural Encoder to convert 5-second EEG epochs into 128-dimensional vectors stored in an HNSW index:

  • Search: Sub-millisecond approximate nearest-neighbor queries
  • UMAP: GPU-accelerated 3D projection for visual comparison
  • Storage: Local SQLite + HNSW index in ~/.skill/YYYYMMDD/