A set of classes to generate stimlus for vision study.
The stimulus includes drift gratings and moving bars.
Sphericial correction can be applied for very large screen before the animals, in which situation the normal stimulus is distorted in the view. For details, see: Garrett, Marina E., et al. "Topography and areal organization of mouse visual cortex." Journal of Neuroscience 34.37 (2014): 12587-12600.
Run Demo*.m to get your hands dirty on this! The demo files will create and save stimuli as pictures or video files.
You can show the stimulus by running PlayMovie*.m. This needs Psychtoolbox (http://psychtoolbox.org/) installed.