The scripts generate an .csv output file, but I am having trouble determining what time point in the eyetracking files lines up with when code in PCIbex is being run. One concern I have is that on two separate lines, I call.start() on the eyetracking (“tracker”) element, but only call .stop() once.
Here is a sample of what the recorded eye movements are, as I have only two quadrants (Left and Right).
You are not supposed to call start on an EyeTracker element that’s already started. When .log is called on the EyeTracker element, lines are added to the results file, including one line that tells you when .start was executed and reporting the corresponding timestamp. Then you can use the times column from the .csv output file to calculate when each gaze estimate was recorded (EventTime + times). For example, the value of 0 in your sample simply corresponds to the tracker’s start timestamp (not sure which of the two starts though, but you can determine that using the timestamps of print on the Left and Right Canvas elements, since you print those between the tracker’s first and second starts). Comparing those values with the timestamps reported in your results file for other events, such as audio start/stop, will give you an idea of where the participant was looking during the unfolding of the event in the trial