Real-time detection of brain events in EEG | Synapse