-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRP_main.py
More file actions
40 lines (32 loc) · 1.01 KB
/
RP_main.py
File metadata and controls
40 lines (32 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
from PictureRating import PicRating
from ranking import PicRanking
from sortRankPic import sortRankPic
from RPIntroduction import Intro
from practiceTrials import pracTrials
from RPScript_full_bhv_newtimer import RPbhv
from RPScript_full_bhv_newtimerET import RPET
from restingState import restingState
from psychopy import core, event
event.globalKeys.add(key='q',modifiers = ['ctrl'], func = core.quit)
# what is the subject ID?
subjectID = 13
whichTask = 5
#Run 1 and 2 in behavior room
if whichTask == 1:
PicRating(subjectID)
PicRanking(subjectID)
sortRankPic(subjectID)
if whichTask == 2:
Intro(subjectID)
# If not automatically set when connected to the display at MRRC, change display setting to 400*800
#Run 3 and 4 when subject is in the scanner
# 3 ==> runs 5 practice trials
if whichTask == 3:
pracTrials()
# 4 ==> runs the full task
if whichTask == 4:
#RPbhv(subjectID)
RPET(subjectID) # eyetracking version
# 5 ==> runs resting state
if whichTask == 5:
restingState(subjectID)