IO module
Input/output of data from files:
import EEG data from .set files or raw files
import features (word level features, envelopes, etc.)
Module to correctly extract Matlab files, especially EEGLAB .set files no matter if the version is >=7.3 and take the data to MNE format.
Another important part are classes to handle continuous stimuli aligned with EEG recording. These aligned features then serve as an input to most of the decoding functions.
Classes
|
Generic class to describe features corresponding to a speech segment aligned with EEG data. |
|
Gather word-level linguistic features based on old and rigid files, generated from various sources (RNNLM, custom scripts for word frequencies, Forced-Alignment toolkit, ...) |
Functions
|
|
|
Function to get the duration of an audio file |
|
Function to get the duration from a file generated by PrAat software, for instance to get envelope or pitch of a sound. |
|
|
|
Extract sentence position of words given a text file. |
|
Simply load word lists and respective onsets for a given sound file/story parts... |
|
Get the word vectors for each word in the list supplied. |
|
Load syntactic structure open values. |
|
Load syntactic structure depth values. |
|
Load ICA matrices from EEGLAB structure .set file |
|
Loading simple mat file into dictionnary |
|
Load syntactic structure open values. |
|
Load surprisal values from the given file. |
|
Load word frequency, and returns -log of it (scaled by median value) |