deterministic_process_event_schedule(interval, t_start, duration, t_unit, event_generator, *args, **kwargs)[source]

Return a schedule of events separated by a fixed time interval

interval : float

The fixed time interval between subsequent events

t_start : float

The time at which the schedule starts

duration : float

The duration of the event schedule

t_unit: string

The unit in which time values are expressed (e.g. ‘ms’, ‘s’)

event_generator : function

A function that when called returns an event, i.e. a dictionary of event properties

*args : argument list

List of non-keyworded arguments for event_generator function

**kwargs : keyworded argument list

List of keyworded arguments for event_generator function

event_schedule : EventSchedule

An EventSchedule object