pyeeg.io.AlignedSpeech.add_word_level_features
- AlignedSpeech.add_word_level_features(word_feats, use_wordonsets=False)
Add an existing
WordLevelFeaturesinstance to thisAlignedSpeechinstance, but not simply as an object here, but actually add the aligned features… Hence this only work for the list of features handled byWordLevelFeatures.- Parameters:
word_feats (
WordLevelFeatures) – Word level feature object whose features will be aligned and added to this instance.use_wordonsets (bool) – Whether to also add the word onset feature (a spike at each word onset) to the aligned features (Default: False).
- Returns:
self (
AlignedSpeech) – This instance, with the aligned word level features added.See also
create_word_level_features().