====== MR Task Notes ====== A collection of code for tasks run at the MRRC that are publicly available can be found on https://github.com/NPACore/mri-tasks Also see [[:mr:analysis|MR analysis]] ===== Software ===== fMRI Tasks or "games" can be created using dedicated software * [[mr:task:psychopy]] - task code is plaintext; software (psychopy) and runtime (python) is free and open source. Provides graphical interface to build task or code primitives to DIY (eg [[https://github.com/LabNeuroCogDevel/lncdtask|lncdtask]]). * [[mr:task:psychtoolbox]] - code is plaintext. software is subscription based (previously open source until 2025-04; 3.0.19.16 “Last free dessert” ). runtime (MATLAB) is proprietary/non-free (but PTB is compatible with octave). no graphical builder. * [[mr:task:EPrime]] - software and runtime is proprietary and not free. task code is encrypted and cannot be inspected without a valid EPrime license. graphical interface. ===== Coding Tips ====== * [[:mr:task:trigger|Triggering Task Start]] * [[:mr:task:psychtoolbox|Psychtoolbox/MATLAB Timing]] ===== Hardware ====== * [[:hardware:eyetracking:eyelink:task_integration|EyeLink Task Integration]] * [[:hardware:ttl_bnc|TTL BNC (tigger) connection]]