Gravar-mail: EEG—Single-Channel Envelope Synchronisation and Classification for Seizure Detection and Prediction