pyeeg.io.AlignedSpeech.samples_from_onset
- AlignedSpeech.samples_from_onset(onset_segment, srate)
Load the corresponding indices of samples as found in EEG for the given speech segment. Will use duration of current segment and the onset time of the speech segment from the EEG experiment.