Use the PsychoPy help page on guis to customize your "exp_info" dialog box: psychopy.gui
Using DlgFromDict:
#=====================
#COLLECT PARTICIPANT INFO
#=====================
#-create a dialogue box that will collect current participant number, age, gender, handedness
#get date and time
#-create a unique filename for the data
Look at the psychopy help page on "window" to help solve the exercises:
#=====================
#CREATION OF WINDOW AND STIMULI
#=====================
#-define the monitor settings using psychopy functions
#-define the window (size, color, units, fullscreen mode) using psychopy functions
Check the psychopy help page on "ImageStim" to help you solve these exercises:
Write a short script that shows different face images from the image directory at 400x400 pixels in size. What does this do to the images? How can you keep the proper image dimensions and still change the size?
Write a short script that makes one image appear at a time, each in a different quadrant of your screen (put the window in fullscreen mode). Think about how you can calculate window locations without using a trial-and-error method.
Create a fixation cross stimulus (hint:text stimulus).
Fill in the following pseudocode with the real code you have learned so far:
#=====================
#CREATION OF WINDOW AND STIMULI
#=====================
#-define experiment start text unsing psychopy functions
#-define block (start)/end text using psychopy functions
#-define stimuli using psychopy functions (images, fixation cross)
#=====================
#START EXPERIMENT
#=====================
#-present start message text
#-allow participant to begin experiment with button press
#=====================
#BLOCK SEQUENCE
#=====================
#-for loop for nBlocks
#-present block start message
#-randomize order of trials here
#=====================
#TRIAL SEQUENCE
#=====================
#-for loop for nTrials
#-set stimuli and stimulus properties for the current trial
#=====================
#START TRIAL
#=====================
#-draw fixation
#-flip window
#-wait time (stimulus duration)
#-draw image
#-flip window
#-wait time (stimulus duration)
#-draw end trial text
#-flip window
#-wait time (stimulus duration)
#======================
# END OF EXPERIMENT
#======================
#-close window