Reward Learning and Habituation Task
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
Data
JSON files are exported from the browser at the end of the task. They're on bea_res like:
/Volumes/L/bea_res/Data/Tasks/Habit/MR/11734_20221111/sub-11734_task-mr_habit_ses-20221005_run-1_1668193517800.json
Task JSON is translated to tsv 1) for analysis using
/Volumes/Hera/Projects/Habit/mr/habit/Makefile
foranw@rhea night;y Cron creates /Volumes/Hera/Projects/Habit/task/results/lab.summary.csv like
0 1 * * * make -C /Volumes/Hera/Projects/Habit/task results/lab.summary.csv
Timing
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


