pyeeg.io.AlignedSpeech.add_word_level_features

AlignedSpeech.add_word_level_features(word_feats, use_wordonsets=False)

Add an existing WordLevelFeatures instance to this AlignedSpeech instance, but not simply as an object here, but actually add the aligned features… Hence this only work for the list of features handled by WordLevelFeatures.

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: