aolabNeuro / brain-python-interface

Other
4 stars 2 forks source link

Tracking task #133

Closed katherineperks closed 1 year ago

katherineperks commented 1 year ago

This code enforces trials to alternate between even and odd frequency components. After a penalty trial, the trial generator increments by 2 - this skips to the next trial with the same freq structure (either even or odd). Bmi3d will keep repeating trials with the same freq structure (but different phase shifts to the trajectories are still random) until a reward trial. After a reward trial, the trial generator increments by 1 like normal.