= EEG and epilepsy = This tutorial introduces some concepts that are specific to the management of EEG recordings in the Brainstorm environment. It also describes a standard pipeline for analyzing epilepsy recordings. It is based on clinical case from the Epilepsy Centre, at the University Hospital Freiburg, Germany. The EEG data was recorded at 1024Hz, using a Neurofile NT digital video-EEG system with 128 channels. The anonymized dataset can be downloaded directly from the Brainstorm download page. The case from the tutorial is also published in this article: Dümpelmann M, Ball T, Schulze-Bonhage A<
>[[http://www.ncbi.nlm.nih.gov/pubmed/21618659|LORETA allows reliable distributed source reconstruction based on subdural strip and grid recordings]], Hum Brain Mapp. 2012 == Presentation of the clinical case == The EEG data was recorded at 1024Hz, using a Neurofile NT digital video-EEG system with 128 channels and a 16-bit A/D converter. The signal was filtered in the recording system with a high-pass filter with a time constant of 1 second and a low-pass filter with a cutoff frequency of 344 Hz. The spikes were visually identified and averaged with the ASA package. The spike average showed prominent peaks in the grid contacts G_A2-4, G_B2-5, G_C1-3. Type of epilepsy, supposed location, etc. == Download and installation == * Requirements: You have already followed all the basic tutorials and you have a working copy of Brainstorm installed on your computer. * Go to the [[http://neuroimage.usc.edu/brainstorm3_register/download.php|Download]] page of this website, and dowload the file: '''sample_epilepsy.zip ''' * Unzip it in a folder that is not in any of the Brainstorm folders (program folder or database folder). This is really important that you always keep your original data files in a separate folder: the program folder can be deleted when updating the software, and the contents of the database folder is supposed to be manipulated only by the program itself. * Start Brainstorm (Matlab scripts or stand-alone version) * Select the menu File > Create new protocol. Name it "'''TutorialEpilepsy'''" and select the options: * "'''No, use individual anatomy'''", * "'''Yes, use one channel file per subject'''". == Import the anatomy == For now the MRI is processed with BrainVISA, but we would like to have it fully processed with FreeSurfer. == Access the raw file == ... == Mark and review spikes == How was it done initially? How would we do it in Brainstorm? Import 177 spikes: [-1, +1] seconds arounf the spike events