Views
No views yet
Mirror of github.com/twu3202/EEG_MI. Data lives in Twu31/cap32-mi-eeg.

| Question | Answer |
|---|---|
| Left hand vs right hand | Not decodable (p = 0.41). A dry cap does not resolve C3 vs C4 well enough. |
| Both hands vs rest | Decodable, AUC 0.83–0.87 (n = 19, breadth search over 115 pipelines) |
| Hands vs feet | AUC 0.704, p = 0.040 in mu (8–13 Hz) on 17 central+frontal channels — exploratory, selection-biased |
| Do foundation models beat classical? | No. Seven frozen backbones, none beat CSP/Riemannian tangent space + LR (0.790) |
| Channel-to-channel crosstalk | Not detectable; bounded at −24 dB by a measurement whose floor was set by open inputs |
src/foundation/embed_health.py is the
pre-flight gate that now has to pass before any probe score is interpreted.docs/mi_pilot_report.pdf | MI pilot: ERD/ERS, breadth search, foundation-model benchmark (中文) |
docs/crosstalk_report.pdf · _zh | Crosstalk measured with an external generator (EN / 中文) |
docs/hardware_acceptance.pdf | Noise, DC, mains, crosstalk acceptance suite (中文) |
docs/impedance_injection_report.pdf | Reverse-engineering the 31.2 Hz impedance injection (中文) |
docs/network_setup.md | Recording over the cap's WiFi AP without losing internet |
research/ | MI + foundation-model survey, per-model input contracts, OpenBCI notes |
src/
common/montage.py 32-ch 10–20 montage + ADC scaling (µV = counts × 0.02235)
acquisition/ cap → GUI/LSL: framing, MI paradigm, impedance, hardware tests
experiment/mi_paradigm.py full-screen cue window (fixation → cue → imagery → rest)
analysis/ epoching, artifact handling, breadth search over pipelines
foundation/ frozen-backbone probing + the representation-health gate
baselines/ CSP / Riemannian baselines on MOABB (BCI IV-2a/2b)
docs/ reports (LaTeX + PDF); preamble.tex is shared by all of them
research/ surveys and notes written before the hardware arrived
results/ figures and metrics reproduced by the scripts above1conda create -n eegmi python=3.11 && conda activate eegmi
2pip install -r requirements-cpu.txt # baselines, analysis (no GPU)
3pip install -r requirements-dl.txt # torch (MPS) + braindecode + foundation modelspython src/acquisition/cap_gui.py --source synthESPBCI access point, set a static IP of 192.168.4.2
(see docs/network_setup.md), thenpython src/acquisition/cap_gui.py --source udpsrc/acquisition/ contains
the test scripts for each. Vendor manuals and software are not redistributed here.