mglEyelinkEDFRead gets better handling of left/right eye files. Before it was hard-coded to always read the right eye and would fail on files that had left eye recorded. Now, it saves both of them to the intermediate data structure and then sorts it out in the m file. NOTE if both is set it arbitrarily sets the "gaze" field to the left eye and returns both gazeLeft and gazeRight. Seems like it would be better to have the gaze field return like an average of the two eye positions, but I don't have a test file to work on this.
Also fixed various small error handling checking in the commands and added better help info.
143 lines of code changed in 4 files:
Small change to help
1 lines of code changed in 1 file:
Adding ability to specify a comma delimited list of variable names that will return the concatenation of stimvols for the variables
25 lines of code changed in 1 file:
Change set allows shifting, scaling and cropping of task screen through setting parameters in mglEditScreenParams
102 lines of code changed in 5 files:
minor changes to figure display
13 lines of code changed in 1 file:
moving in function that flickers the screen for testing with a photodiode
52 lines of code changed in 1 file:
Default test for 10 seconds
1 lines of code changed in 1 file:
Displays histogram of refresh times at end
16 lines of code changed in 1 file:
New function that allows for faster updating of textures (like changing the alpha channel)
398 lines of code changed in 4 files: