A class implementing a general event buffer.
Methods
Create an event buffer.
Parameters name – the name of the buffer (str) clock – an experimental clock (expyriment.Clock object) (optional)
Add an event to the buffer.
Parameters event – the event to add (anything)
Add a list of events to the buffer.
All events get the same time stamp!
Parameters events – the event list to add (list)
Clear the buffer.
Getter for clock
Get an element (code, rt) from the buffer.
Parameters position – the position to get the element from (int)
Get the last event (code, rt) in the buffer.
Return the number of elements in the buffer.
Get a copy of the buffer.
Getter for memory [list of tuples (code, rt)]
Getter for name