TemporalEvent

class TemporalEvent(contents, start_index, start_time)[source]

A single event process with starting and ending times.

Note: the contents have the Onset and duration removed.

Methods

TemporalEvent.__init__(contents, ...)

TemporalEvent.set_end(end_index, end_time)

Set end time information for an event process.

Attributes

TemporalEvent.__init__(contents, start_index, start_time)[source]
TemporalEvent.set_end(end_index, end_time)[source]

Set end time information for an event process.

Parameters:
  • end_index (int) – Position of ending event marker corresponding to the end of this event process.

  • end_time (float) – Ending time of the event (usually in seconds).