Hi all,
I am trying to programmatically access Analog Data, specifically eye data of the current trial while the trial is still ongoing. Is this possible and if yes, how?
I understand that eye TrialRecord.LastTrialAnalogData is filled only after the trial completes, so too late for me.
I have been looking at eye_.XYData, but the docs say "An n-by-2 XY position matrix in screen pixels" while I would need degrees. I understand that this could be solved with the EyeCal object, correct?
Another issue is that when I experimented with it, I expected XYData to contain a long two-column array with eye position sampled every ms. But I got only 1 x 2 vector, as if the field stored only the most recent pair of coordinates. Is that true and then what the n in n-by-2 stands for, and how to get the entire trace?
Or is it only the side effect of me trying it in the simulation mode for now, and with an actual eyetracker I would get a long 2 column array?
And finally, if this will be a long 2-column array, what time point in the trial does the first row of that array represent?