{'fraction_non_alphanumeric': 0.021496815286624203, 'fraction_numerical': 0.0, 'mean_word_length': 5.2227722772277225, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Distinguishing between moving and stationary sources using EEG/MEG measurements with an application to epilepsy

Performances of electroencephalography (EEG) and magnetoencephalography (MEG) source estimation methods depend on the validity of the assumed model. In many cases, the model structure is related to physical information. We discuss a number of statistical selection methods to distinguish between two possible models using least-squares estimation and assuming a spherical head model. The first model has a single moving source whereas the second has two stationary sources; these may result in similar EEG/MEG measurements. The need to decide between such models occurs for example in Jacksonian seizures (e.g., epilepsy) or in intralobular activities, where a model with either two stationary dipole sources or a single moving dipole source may be possible. We also show that all of the selection methods discussed choose the correct model with probability one when the number of trials goes to infinity. Finally we present numerical examples and compare the performances of the methods by varying parameters such as the signal-to-noise ratio, source depth, and separation of sources, and also apply the methods to real MEG data for epilepsy.