Opticka 2.16.1
Opticka is an experiment manager for behavioral research.
Loading...
Searching...
No Matches
colourGratingStimulus.m File Reference

Classes

class  colourGratingStimulus
 colour grating stimulus, inherits from baseStimulus COLOURGRATINGSTIMULUS colour grating stimulus, inherits from baseStimulus The basic properties are: type = 'sinusoid' or 'square', if square you should set sigma which smoothes the interface and stops pixel motion artifacts that normally inflict square wave gratings, set sigma to 0 to remove smoothing. colour = first grating colour colour2 = second grating colour baseColour = the midpoint between the two from where contrast works, defult just inherits the background colour from screenManager correctBaseColour = automatically generate baseColour as the average of colour and colour2 contrast = contrast from 0 - 1 sf = spatial frequency in degrees tf = temporal frequency in degs/s angle = angle in degrees rotateTexture = do we rotate the grating texture (true) or the patch itself (false) phase = phase of grating mask = use circular mask (true) or not (false) More...