Skip to content

Examples

New here and not a developer? Start with the Tutorial: A Clinician's First EEG Review — a plain-English, no-code walkthrough with real screenshots, written for a doctor working through an AI assistant rather than an engineer writing code.

The four pages below are the technical version of the same workflows: end-to- end agent call sequences spanning the core tool areas. Every call sequence and output shape is grounded in an actual exercised path in testing/full_verify.py and/or the testing/persona_*.py scripts — not invented — so you can run the same calls yourself and expect the same shapes back.

  1. Clinical Review, Annotation & EHR Audit — a clinician's journey from a new patient through review, annotation, and a versioned diagnosis, ending with an audit-trail lookup.
  2. Research Preprocessing & Spectral Pipeline — the full sensor-level MNE pipeline from raw file to spectral/ERP/ time-frequency features.
  3. Source Imaging (ESI) Pipeline — localizing cortical sources from scalp EEG using the fsaverage template head.
  4. Interactive Visualization Generation — producing the three self-contained NEUROII-style HTML viewers.

Each example uses a synthetic 20-channel EEG recording (the same kind testing/make_synthetic.py generates: standard 10-20 layout, a stim channel, and an injected 10 Hz alpha-band rhythm) so the numbers you see are reproducible if you run the calls yourself against testing/make_synthetic.py's output.