Make a set of events separated by a fixed duration.
A raw object to use the data from.
The id to use (default 1).
Time of first event (in seconds).
Maximum time of last event (in seconds). If None, events extend to the end of the recording.
The duration to separate events by (in seconds).
If True (default), times will have first_samp added to them, as
mne.find_events(). This behavior is not desirable if the
returned events will be combined with event times that already
have first_samp added to them, e.g. event times that come
The overlap between events (in seconds).
0 <= overlap < duration.
New in version 0.18.