This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generated by OpenSesame 2.9.4 (Hesitant Heisenberg) | |
# Fri Mar 27 15:15:18 2015 (posix) | |
# <http://www.cogsci.nl/opensesame> | |
set background "black" | |
set canvas_backend "xpyriment" | |
set compensation "0" | |
set coordinates "relative" | |
set description "Default description" | |
set foreground "white" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Image loading... | |
exp.imfolder = os.path.join(exp.experiment_path, '__pool__') | |
exp.all_img = [scipy.misc.imread( os.path.join(exp.imfolder,im) ) | |
for im in os.listdir(exp.imfolder) if '.jpg' in im] | |
### "cut out center" of these images: | |
img = exp.all_img[0] | |
xc,yc= img.shape[0]//2, img.shape[0]//2 | |
rr,cc = skimage.draw.circle(yc,xc, 45) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generated by OpenSesame 2.9.4 (Hesitant Heisenberg) | |
# Wed Mar 25 19:11:03 2015 (posix) | |
# <http://www.cogsci.nl/opensesame> | |
set background "black" | |
set bidi "no" | |
set canvas_backend "psycho" | |
set compensation "0" | |
set coordinates "relative" | |
set description "A template containing a practice and an experimental phase" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generated by OpenSesame 2.9.4 (Hesitant Heisenberg) | |
# Wed Mar 25 19:08:59 2015 (posix) | |
# <http://www.cogsci.nl/opensesame> | |
set background "black" | |
set bidi "no" | |
set canvas_backend "psycho" | |
set compensation "0" | |
set coordinates "relative" | |
set description "A template containing a practice and an experimental phase" |