Rigbox
Rigbox copied to clipboard
send newTrial events
Send an event at the start of the new trial which contains the trial number, repeat number, and all params.
How to implement it?
- As a function that is called "onValue" of newTrial? (with a short delay? otherwise pars may not have updated yet?)
- As a function that is called explicitly in the mainLoop whenever trial number has been incremented? (may be safest in terms of making sure that all pars updates will be included within the newTrail event)
@nsteinme has this been implemented?