Dear PsychoPy Community,
Sorry to interrupt you. I am going to run my fMRI experiment and will use PsychoPy to present stimuli. I have two questions about triggers and timing in fMRI. Hence I would like to ask here for help.
1.Overview of the fMRI task: My task is a very simple block-design. There are two types of blocks: a task block and a rest block, each of them will last for 15s. In the task block a word ‘TAP’ will be presented, whereas in the rest block a fixation cross ‘+’ will be presented. There is NO need to press any buttons or give behavioral responses. People just need to watch these two words and do simple finger-tapping behavior.
2. My questions:
- The scanner will Emmulate a keypress ‘5’ to rigger my experiment at the start the task. I am unsure whether I write the correct psychopy code.
- I need to record the start time for each block (e.g., 0, 15, 30, 45, etc). Given that a non-slip global clock timing is recommended. I am unsure whether I write the correct psychopy code.
3. What I would like to kindly ask?
Could I ask someone to check my code and see whether I solved the above-mentioned two questions correctly? If NOT, might you give me some corrections?
Thank you very much in advance, any suggestions are very welcome and highly appreciated.
finger_tap_task.py (2.1 KB)