pyeeg.features.AlignmentHandler
- class pyeeg.features.AlignmentHandler(signal_sampling_rate: float = 1000.0)
Handle alignment between word-level features and neural signals.
Converts word-level feature values (indexed by word position) into sample-level feature arrays, filling each word’s interval with its feature values at the configured sampling rate.
- Parameters:
signal_sampling_rate (float) – Sampling rate of the neural signal in Hz, used to convert interval times (seconds) into sample indices. Default: 1000.0.
Methods
AlignmentHandler.align_word_features(...[, ...])Align word-level features to signal time points.
Load and parse a TextGrid from a string.