Example #1
0
s.reward.rewardtime = 0.03

#===============================================================================
# Dynamic parameters can potentially vary from one sweep to the next. If a dynamic parameter 
# is assigned multiple values in a sequence, it's treated as a Variable, and has to be added to 
# this Experiment's Variables object
#===============================================================================

# grating orientation relative to orioff (deg)
d.ori = range(0, 360, 45)
# grating x position relative to origin (deg)
d.xposDeg = 0
# grating y position relative to origin (deg)
d.yposDeg = 0
# mask diameter (deg), ignored if mask is None
d.diameterDeg = 10
# spatial frequency (cycles/deg)
d.sfreqCycDeg = [0.1,0.2]
# temporal frequency (cycles/sec)
d.tfreqCycSec = [1,2,3]
# grating phase to begin each sweep with (+/- deg)
d.phase0 = 0
# mean luminance (0-1)
d.ml = 0.5
# contrast (0-1), >> 1 get square grating, < 0 get contrast reversal
d.contrast = 1.5
# background brightness (0-1)
d.bgbrightness = 0.5
# sweep duration (sec)
d.sweepSec = 5
# post-sweep duration to display blank screen (sec)