示例#1
0
from dimstim.Core import StaticParams
from dimstim.Constants import dc # dimstim config
from aibs.ManBar_Foraging import ManBar
from aibs.Terrain import Terrain
from aibs.Reward import Reward
from aibs.Encoder import Encoder

p = StaticParams()

# Foraging experiment parameters, all must be scalars

# Mouse ID
p.mouseid = 'test'
# background brightness (0-1)
p.bgbrightness = 0.5
# antialiase the bar?
p.antialiase = True
# screen gamma: None, or single value, or 3-tuple
p.gamma = dc.get('Screen', 'gamma')
# flash the stimulus?
p.flash = False
# duration of each flash cycle (on and off) (sec)
p.flashSec = 1
# starting y position
p.ypos = 540 #540 is center on 1080 pixel wide monitor
# print vsync histogram?
p.printhistogram = False
# display on how many screens?
p.nscreens = 2
# set up wheel encoder (NIDAQ Device, Vin, Vsig)