Automating Muscle Artifact Removal in Ictal EEG