TY - JOUR A1 - Wegner, Frederic von A1 - Laufs, Helmut T1 - Information-theoretical analysis of EEG microstate sequences in python T2 - Frontiers in neuroinformatics N2 - We present an open-source Python package to compute information-theoretical quantities for electroencephalographic data. Electroencephalography (EEG) measures the electrical potential generated by the cerebral cortex and the set of spatial patterns projected by the brain's electrical potential on the scalp surface can be clustered into a set of representative maps called EEG microstates. Microstate time series are obtained by competitively fitting the microstate maps back into the EEG data set, i.e., by substituting the EEG data at a given time with the label of the microstate that has the highest similarity with the actual EEG topography. As microstate sequences consist of non-metric random variables, e.g., the letters A–D, we recently introduced information-theoretical measures to quantify these time series. In wakeful resting state EEG recordings, we found new characteristics of microstate sequences such as periodicities related to EEG frequency bands. The algorithms used are here provided as an open-source package and their use is explained in a tutorial style. The package is self-contained and the programming style is procedural, focusing on code intelligibility and easy portability. Using a sample EEG file, we demonstrate how to perform EEG microstate segmentation using the modified K-means approach, and how to compute and visualize the recently introduced information-theoretical tests and quantities. The time-lagged mutual information function is derived as a discrete symbolic alternative to the autocorrelation function for metric time series and confidence intervals are computed from Markov chain surrogate data. The software package provides an open-source extension to the existing implementations of the microstate transform and is specifically designed to analyze resting state EEG recordings. KW - EEG microstates KW - information theory KW - entropy KW - mutual information KW - Markovianity KW - open-source Y1 - 2018 UR - http://publikationen.ub.uni-frankfurt.de/frontdoor/index/index/docId/46818 UR - https://nbn-resolving.org/urn:nbn:de:hebis:30:3-468186 SN - 1662-5196 N1 - Copyright © 2018 von Wegner and Laufs. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms. VL - 12 IS - Art. 30 SP - 1 EP - 10 PB - Frontiers Research Foundation CY - Lausanne ER -