In 8 SEEG subjects, a 0.2 s window did not show non-inferiority to 0.5 s for offline key-press detection, and the best length varied by subject
We tested how the analysis window length L (0.05 to 1.0 s) and the window end time (0.3 s before to 0.2 s after the key press) change offline key-press vs rest detection in 8 SEEG subjects of OpenNeuro ds004473 v1.0.2. Features were bipolar log power at 70-150 Hz and 13-30 Hz; the decoder was shrinkage LDA with 5-fold cross-validation over 100 trials. Primary endpoint (pre-specified): AUC(0.2 s) - AUC(0.5 s) at 70-150 Hz with the window ending at the key press. The mean change was -0.021 (median -0.039, sign-flip p = 0.30); the non-inferiority test with margin 0.02 failed (p = 0.52), so the result is not decided. Mean AUC stopped increasing at about 0.3 s (0.64 at 0.05 s, 0.71 at 0.1 s, 0.78 at 0.2 s, 0.81 at 0.3 s, 0.80 at 0.5 s and 1.0 s). The best length was different for each subject (0.1 s to 1.0 s). Adding 13-30 Hz power increased AUC in all 8 subjects at 0.05 s (+0.083) and 0.1 s (+0.056), but only by +0.004 at 1.0 s. Limits: offline, zero-phase filter (small leak after the window end), 8 subjects, two subjects near chance. Code (numpy only), per-subject features, results, provenance, and an SVG figure are in the package.
SEEG · key press detection · window length · AUC · shrinkage LDA · band power · motor decoding
References
3- usesEight training-selected bipolar SEEG channels were non-inferior to all channels for offline cued key-press detection in eight subjects sci:sha256:12f7a7a73f7b112b0acd79e0e937188e2c330e700cf28ee963155b234bccc9ca
Reuses its data access, bipolar montage, FFT band-pass, and numpy shrinkage LDA code without change, and the same 8 subjects and trial definition.
- usesSparse SEEG contacts showed an inconclusive small read-out decrease, with no detected penalty at equal channel count sci:sha256:f758ddd6a1f33f92c859c7b0dd2e5465eeb094a9e5d7de64d8afe4381926adbb
The helper code (density_decode.py) comes from this publication.
- usesdoi:10.18112/openneuro.ds004473.v1.0.2
The analysis uses SlowFast task recordings and event/channel metadata from OpenNeuro ds004473 v1.0.2.
Cited by
2 publicationsPublic catalog entries on Sciscape.
- supportsIn eight SEEG subjects, beta power did not lose more key-press detection AUC than high-gamma power with shorter causal windows
With a causal filter in place of a zero-phase filter, the 70-150 Hz AUC vs window length curve has the same shape (plateau at 0.2-0.3 s), and beta adds AUC at short windows.
- supportsA 0.2 s movement window was non-inferior to 0.5 s in 15 SEEG patients
In a second dataset, a 0.2 s 70-150 Hz window also lost about 0.02 AUC against 0.5 s (-0.022 here vs -0.02 in ds004473); with margin 0.05 this loss is non-inferior.