Example #1
0
s.gamma = None #dc.get('Screen', 'gamma')
# sync square (for frame sync)
s.syncsq = True
# sync sqaure location
s.syncsqloc = (100,100)

"""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"""

# index of cell horizontal position (origin at left)
d.xi = range(s.ncellswide)
# index of cell vertical position (origin at bottom)
d.yi = range(s.ncellshigh)
# grid orientation relative to orioff (deg)
d.ori = 0
# grid x position relative to origin (deg)
d.xposDeg = 0
# grid y position relative to origin (deg)
d.yposDeg = 0
# bar brightness (0-1)
d.brightness = [0, 1]
# background brightness (0-1)
d.bgbrightness = 0.5
# antialiase the bar?
d.antialiase = True
# sweep duration (sec)
d.sweepSec = 0.25
# post-sweep duration to display blank screen (sec)
d.postsweepSec = 0
# contrast reverse
d.contrastreverse = False
# contrast reverse Frequency