pyeeg.io
.get_word_onsets
- pyeeg.io.get_word_onsets(filepath)
Simply load word lists and respective onsets for a given sound file/story parts…
- Parameters:
filepath (str) – path to .csv file that contains entry for onset/offset time of words along with word string themselves
- Returns:
list – Onset time of each words
list – Actual word list
Note
Here we expect the file to be a comma separayted file with a named column for onset and for word respectively.