bidsaid.events.EPrimeEventExtractor.extract_durations
- EPrimeEventExtractor.extract_durations(offset_column_name)[source]
Extract the duration for each event.
Duration is computed as the difference between the trial onset time and the trial offset time.
Parameters
- offset_column_name
str The name of the column containing the offset time of trial.
Returns
- list[float]
A list of durations for each event.
- offset_column_name