{'fraction_non_alphanumeric': 0.013068181818181817, 'fraction_numerical': 0.0005681818181818182, 'mean_word_length': 6.044, '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}}
Surface based electrode localization and standardized regions of interest for intracranial EEG

Intracranial recordings captured from subdural electrodes in patients with drug resistant epilepsy offer clinicians and researchers a powerful tool for examining neural activity in the human brain with high spatial and temporal precision. There are two major challenges, however, to interpreting these signals both within and across individuals. Anatomical distortions following implantation make accurately identifying the electrode locations difficult. In addition, because each implant involves a unique configuration, comparing neural activity across individuals in a standardized manner has been limited to broad anatomical regions such as cortical lobes or gyri. We address these challenges here by introducing a semi‐automated method for localizing subdural electrode contacts to the unique surface anatomy of each individual, and by using a surface‐based grid of regions of interest (ROIs) to aggregate electrode data from similar anatomical locations across individuals. Our localization algorithm, which uses only a postoperative CT and preoperative MRI, builds upon previous spring‐based optimization approaches by introducing manually identified anchor points directly on the brain surface to constrain the final electrode locations. This algorithm yields an accuracy of 2 mm. Our surface‐based ROI approach involves choosing a flexible number of ROIs with different spatial resolutions. ROIs are registered across individuals to represent identical anatomical locations while accounting for the unique curvature of each brain surface. This ROI based approach therefore enables group level statistical testing from spatially precise anatomical regions.