for Habit Study (R37) on github https://github.com/LabNeuroCogDevel/choice-landscape
A static playable version without external recordings is hosted on github https://labneurocogdevel.github.io/choice-landscape/
Shane ported the task to Psychtoolbox for Habit sEEG Protocol
Documentation on coalesced and parsed parsed data on Habit Task Data Parsing.
/Volumes/L/bea_res/Data/Tasks/Habit/MR/11734_20221111/sub-11734_task-mr_habit_ses-20221005_run-1_1668193517800.json # to /Volumes/Hera/Projects/Habit/task/results/lab.data.tsv
Precise screen flip and button push timing is important eeg and seeg, but the browser based task does not have any display timing guarantees. We use the Cedrus or RTBox response box's photodiode to forward screen luminosity changes to the TTL channel.
https://github.com/LabNeuroCogDevel/choice-landscape/blob/loeffeeg/http_ttl.py#L119
https://community.cedrus.com/t/rb-x40-m-pod-event-markers-from-task-computer-via-usb/7113/3