Matlab scripts (m-files) and Simulink models

Properties of 3D rotations and their relation to eye movement control

single_muscles.m - assumes orthogonal muscle pairs, all EOMs separately modeled.

real_muscles.m - uses physiologically placed muscle insertions, all EOMs separately modeled.

real_muscles_paired.m - uses physiologically placed muscle insertions.

no_pulleys_muslces.m - uses physiologically placed muscle insertions. NO Pulleys.

paired_muscles.m - assumes orthogonal muscle pairs.

paired_muscles_nop.m - assumes orthogonal muscle pairs.NO Pulleys.

QuaiaOptican.m - 3D eye mechanics and saccade generator model based on paper by Quaia & Optican

net_cocn_torque_dir.m - determines direction of net-torque generated by cocontration of antagonistic muscles as a function of eye orientation

model_comp.m - compares the four models (Paire, Single, Orthogongal and Physiological) based on fixation orientations when using the same neural activity patterns for all the models.

model_comp2.m - compares the four eye plant models (Paired, Single, Orthogongal and Physiological) based on fixation innervations that they predict for various eye orientations.

m_insert3.m - determines the spatial location of a point after rotation about an axis that goes through the origin.

I_gen.m - given desired eye orientation, determine which innervation signals are needed to hold the eye there.

axis_alignment.m - determine alignment between axes of action of antagonistic muscles as a function of eye orientation (gaze direction).

Back to top


Forward & inverse models of horizontal eye plant mechanics

forward_mech.m - eye plant model for finding eye movement as function of MN activity

muscle_polys4.mat - part of forward mechanics model

inverse_model.m - inverse eye plant model for finding MN activity from velocity profiles

inverse_sac_mech.m - part of inverse mechanics model

mn_search.m - part of inverse mechanics model

pulse_step_decomp.m - decompose motor-neuron activation into pulse and step components

F_I_Mrelation.m - non-linear innervation, stretch and generated force relation in the EOMs

v_des.mat - velocity profiles of main sequence horizontal saccades

vel_data.mat - raw data from eye movement recordings used to produce v_des.mat

Back to top


2D saccade generator models

BeckerJurgens4paths.mdl - Simulink implementation of the Becker & Juergens model of the interaction between horizontal and vertical saccade generators in 2D saccades. The model was expanded to explicitly include separate left, right, up and down saccade generator paths.

QuaiaOpticanVectorialBNs.mdl - Simulink implementation of the Quaia & Optican vectorial saccade generator model (J. Neurophysiol. 78:1120-1134, 1997). In order to make a full saccade generator system with this model I've had to add a number of elements (see blue explanation box in the model). plot_activity_map.m is a helper function used for plotting some of the system activity during a saccade.

Back to top


SC model of audio-visual gaze shift reflex

AVgaze_shiftSC.m - Matlab implementation of a simple model of how Audio and Visual stimulus saliences might be combined in the Superior Colliculus to trigger a gaze shift reflex. This model is inspired by Arai & Keller (Biol. Cybern. 2005).

Back to top


Visual psychophysics tools and perception models

BistableDepthSlantPerception.m - Model of competition between perspective and disparity cue based slant percepts by Koene (Neural Computation 2006).

gamma_flip_asym.m - Simulation of perceptual rivalry process in a binary system (e.g. binocular rivalry). Competition between two competing percepts is simulated producing gamma-function like distributions of percept durations. This model allows for asymmetrical percept dominance.

BarStimGen.m - Generates a stimulus image of randomly orientated bars and some manually placed bars. The image is saved as a bitmap (.bmp). Can be used for pop-out or contour-integration experiments/model-testing.

texture_bound_detect.m - implementation of texture boundary detection model by Thielscher and Neumann (Spatial Vision 2005). The model replicates receptive field properties and interaction within/between cortical areas V1, V2 and V4, producing activity maps for orientation tuned cells in each cortical layer. stimulus.bmp is an example image that can be used for testing the model.

brightness.m - Psychophysics example for measuring brightness perception as a function of background.

Kaniza_illusion.m - Psychophysics example for measuring brightness induction effects in the kaniza illusory triangle.

Back to top