|
Samples
|
Sample lines contain time, position, and pupil size data. For EyeLink 3 recordings, sample lines also contain head position and rotation data, and head-in-space and eye-in-head data, and optionally, velocity, resolution, and pupil ellipse data may be included. Each sample line begins with a timestamp. The time stamp field is followed by X and Y position pairs and pupil size data for the tracked eye, and optionally by X and Y velocity pairs for the eye, resolution X and Y values, and, for EyeLink 3, the extended head tracking data and eye position data. Missing data values are represented by a dot ("."), or the text specified by the "-miss" option to EDF2ASC. Optionally, velocity and resolution data may be included. Several possible sample line formats are possible. These are listed below.
Essentially, each sample line begins with a timestamp. This is followed by X and Y position pairs and pupil size data for each eye, and optionally by X and Y velocity pairs for each eye, and resolution X and Y values. For binocular data, the resolution is the average of the left and right eye values. Missing data values are represented by a dot ("."), or the text specified by the "-miss" option to EDF2ASC.
SAMPLE LINE FORMATS (EyeLink I, II, 1000, 1000 Plus, Portable Duo)
- Monocular:
<time > <xp > <yp > <ps > - Monocular (remote mode):
<time > <xp > <yp > <ps > <tx > <ty > <td > - Monocular, with velocity:
<time > <xp > <yp > <ps > <xv > <yv > - Monocular (remote mode), with velocity:
<time > <xp > <yp > <ps > <xv > <yv > <tx > <ty > <td > - Monocular, with resolution:
<time > <xp > <yp > <ps > <xr > <yr > - Monocular (remote mode), with resolution:
<time > <xp > <yp > <ps > <xr > <yr > <tx > <ty > <td > - Monocular, with velocity and resolution:
<time > <xp > <yp > <ps > <xv > <yv > <xr > <yr > - Monocular (remote mode), with velocity and resolution:
<time > <xp > <yp > <ps > <xv > <yv > <xr > <yr > <tx > <ty > <td > - Binocular:
<time > <xpl > <ypl > <psl > <xpr > <ypr > <psr > - Binocular (remote mode):
<time > <xpl > <ypl > <psl > <xpr > <ypr > <psr > <tx > <ty > <td > - Binocular, with resolution:
<time > <xpl > <ypl > <psl > <xpr > <ypr > <psr > <xr > <yr > - Binocular (remote mode), with resolution:
<time > <xpl > <ypl > <psl > <xpr > <ypr > <psr > <xr > <yr > <tx > <ty > <td > - Binocular, with velocity:
<time > <xpl > <ypl > <psl > <xpr > <ypr > <psr > <xvl > <yvl > <xvr > <yvr > - Binocular (remote mode), with velocity:
<time > <xpl > <ypl > <psl > <xpr > <ypr > <psr > <xvl > <yvl > <xvr > <yvr > <tx > <ty > <td > - Binocular, with velocity and resolution:
<time > <xpl > <ypl > <psl > <xpr > <ypr > <psr > <xvl > <yvl > <xvr > <yvr > <xr > <yr > - Binocular (remote mode), with velocity and resolution:
<time > <xpl > <ypl > <psl > <xpr > <ypr > <psr > <xvl > <yvl > <xvr > <yvr > <xr > <yr > <tx > <ty > <td >
Data notations:
| Field | Content |
| <time > | timestamp in milliseconds |
| <xp > <yp > | monocular X and Y position data |
| <xpl > <ypl > | left-eye X and Y position data |
| <xpr > <ypr > | right-eye X and Y position data |
| <ps > | monocular pupil size (area or diameter) |
| <psl > | left pupil size (area or diameter) |
| <psr > | right pupil size (area or diameter) |
| <xv > <yv > | instantaneous velocity (degrees/sec) |
| <xvl > <yvl > | left-eye instantaneous velocity (degrees/sec) |
| <xvr > <yvr > | right-eye instantaneous velocity (degrees/sec) |
| <xr > <yr > | X and Y resolution (position units/degree) |
| <tx > <ty > | X and Y position of the target in camera coordinate |
| <td > | Distance between the target and camera (in millimeters). |
Samples recorded in P-CR Mode (EyeLink II, 1000, 1000 Plus, Portable Duo)
If the data file being processed was recorded using corneal reflection mode, each sample line has an added 3 (monocular) or 5 (binocular) character fields after all other fields (including resolution and velocity if enabled). These fields represent warning messages for that sample relating to the corneal reflection processing.
-
MONOCULAR Corneal Reflection (CR) Samples
"..." if no warning for sample
first character is "I" if sample was interpolated
second character is "C" if CR missing
third character is "R" if CR recovery in progress -
BINOCULAR Corneal Reflection (CR) Samples
"....." if no warning for sample
first character is "I" if sample was interpolated
second character is "C" if LEFT CR missing
third character is "R" if LEFT CR recovery in progress
fourth character is "C" if RIGHT CR missing
fifth character is "R" if RIGHT CR recovery in progress
Samples Recorded in the Remote mode
If the data file being processed was recorded in the Remote mode, extra columns will be recorded to the sample lines to encode the target distance, position, and eye/target status information. The first three columns are:
< target x >: X position of the target in camera coordinate. Returns "MISSING_DATA" (-32768) if target is missing.
< target y >: Y position of the target.
< target distance >: Distance between the target and camera (in millimeters). Returns "MISSING_DATA" (-32768) if target is missing.
In a monocular recording, the next thirteen fields represent warning messages for that sample relating to the target and eye image processing.
- "............." if no warning for target and eye image
- first character is "M" if target is missing
- second character is "A" if extreme target angle occurs
- third character is "N" if target is near eye so that the target window and eye window overlap
- fourth character is "C" if target is too close
- fifth character is "F" if target is too far
- sixth character is "T" if target is near top edge of the camera image
- seventh character is "B" if target is near bottom edge of the camera image
- eighth character is "L" if target is near left edge of the camera image
- Ninth character is "R" if target is near right edge of the camera image
- tenth character is "T" if eye is near top edge of the camera image
- eleventh character is "B" if eye is near bottom edge of the camera image
- twelfth character is "L" if eye is near left edge of the camera image
- thirteenth character is "R" if eye is near right edge of the camera image
For a binocular recording, there will be seventeen target/eye status columns, with the last eight columns reporting the warning messages for the left and right eyes separately.
SAMPLE LINE FORMATS (EyeLink 3)
Monocular recording:
<time > <xp > <yp > <ps >[ <xv > <yv > <xr > <yr >] <xhr > <yhr > <zhr > <xhp > <yhp > <zhp > <hisx > <hisy > <eihx > <eihy > [ <hisxr > <hisyr > <eihxr > <eihyr >] [ <pex > <pey > <pema > <pemi > <pea >]
Note that
- <xv > <yv > are the optional gaze velocity data, which can be enabled by passing in the "-vel" switch when running the conversion from the command prompt or enable the "Output Velocity Data" option from "Preferences".
- <xr > <yr > are the optional gaze resolution data, which can be enabled by passing in the "-res" switch when running the conversion from the command prompt or enable the "Output Resolution Data" option from "Preferences".
- For EyeLink 3, <hisxr > <hisyr > <eihxr > <eihyr > are the optional head-in-space and eye-in-head resolution data. The output can be enabled by passing in the "-hr" switch when running the conversion from the command prompt or enable the "EyeLink 3 -> Output Head Resolution" option from "Preferences".
- For EyeLink 3, <pex > <pey > <pema > <pemi > <pea > are the optional pupil ellipse data if using the ellipse-fitting pupil tracking algorithm. The output can be enabled by passing in the "-pe" switch when running the conversion from the command prompt or enable the "EyeLink 3 -> Output Pupil Ellipse" option from "Preferences".
- For EyeLink 3, the head tracking data (<hrsx> <hrsy> <hrsz> <hrex> <hrey> <hrez> <hrax> <hray> <hraz> <hpsx> <hpsy> <hpsz> <hpex> <hpey> <hpez> <hpax> <hpay> <hpaz>) can be disabled by passing in the "-nht" switch when running the conversion from the command prompt or enable the "EyeLink 3 -> Blocking Head Tracking Output" option from "Preferences".
- For EyeLink 3, the extended eye/head position data (<hissx> <hissy> <hisex> <hisey> <hisax> <hisay> <eihsx> <eihsy> <eihex> <eihey> <eihax> <eihay>) can be disabled by passing in the "-ned" switch when running the conversion from the command prompt or enable the "EyeLink 3 -> Blocking Extended Eye Position" option from "Preferences".
Binocular recording:
<time > <xpl > <ypl > <psl > <xpr > <ypr > <psr > [ <xvl > <yvl > <xvr > <yvr >] [ <xr > <yr >] <xhr > <yhr > <zhr > <xhp > <yhp > <zhp > <hisx > <hisy > <eihlx > <eihrx > <eihcx > <eihly > <eihry > <eihcy > [ <hisxr > <hisyr > <eihxr > <eihyr >] [ <pelx > <pely > <pelma > <pelmi > <pela > <perx > <pery > <perma > <permi > <pera >]
Note that
- <xvl > <yvl > <xvr > <yvr > are the optional gaze velocity data, which can be enabled by passing in the "-vel" switch when running the conversion from the command prompt or enable the "Output Velocity Data" option from "Preferences".
- <xr > <yr > are the optional gaze resolution data, which can be enabled by passing in the "-res" switch when running the conversion from the command prompt or enable the "Output Resolution Data" option from "Preferences".
- For EyeLink 3, <hisxr > <hisyr > <eihxr > <eihyr > are the optional head-in-space and eye-in-head resolution data. The output can be enabled by passing in the "-hr" switch when running the conversion from the command prompt or enable the "EyeLink 3 -> Output Head Resolution" option from "Preferences".
- For EyeLink 3, <pelx > <pely > <pelma > <pelmi > <pela > <perx > <pery > <perma > <permi > <pera > are the optional pupil ellipse data if using the ellipse-fitting pupil tracking algorithm. The output can be enabled by passing in the "-pe" switch when running the conversion from the command prompt or enable the "EyeLink 3 -> Output Pupil Ellipse" option from "Preferences".
- For EyeLink 3, the head tracking data (<hrsx> <hrsy> <hrsz> <hrex> <hrey> <hrez> <hrax> <hray> <hraz> <hpsx> <hpsy> <hpsz> <hpex> <hpey> <hpez> <hpax> <hpay> <hpaz>) can be disabled by passing in the "-nht" switch when running the conversion from the command prompt or enable the "EyeLink 3 -> Blocking Head Tracking Output" option from "Preferences".
- For EyeLink 3, the extended eye/head position data (<hissx> <hissy> <hisex> <hisey> <hisax> <hisay> <eihsx> <eihsy> <eihex> <eihey> <eihax> <eihay>) can be disabled by passing in the "-ned" switch when running the conversion from the command prompt or enable the "EyeLink 3 -> Blocking Extended Eye Position" option from "Preferences".
Data notations:
| Field | Content |
| <time > | timestamp in milliseconds |
| <xp > <yp > | monocular X and Y position data |
| <xpl > <ypl > | left-eye X and Y position data |
| <xpr > <ypr > | right-eye X and Y position data |
| <ps > | monocular pupil size (area or diameter) |
| <psl > | left pupil size (area or diameter) |
| <psr > | right pupil size (area or diameter) |
| <xv > <yv > | instantaneous velocity (degrees/sec) |
| <xvl > <yvl > | left-eye instantaneous velocity (degrees/sec) |
| <xvr > <yvr > | right-eye instantaneous velocity (degrees/sec) |
| <xr > <yr > | X and Y resolution (position units/degree) |
| <xhr > <yhr > <zhr > | Rotation angle (in degrees) of the head around the X-axis (pitch), the Y-axis (yaw), and the Z-axis (roll) |
| <xhp > <yhp > <zhp > | Translational movements along the X, Y, and Z axes |
| <hisx > <hisy > | Head position X, Y in screen pixel coordinates |
| <eihx > <eihy > | X, Y rotation of the monocular eye within the head projected onto a virtual screen (in screen pixel coordinates) |
| <eihlx > <eihly > | X, Y rotation of the left eye within the head projected onto a virtual screen (in screen pixel coordinates) |
| <eihrx > <eihry > | X, Y rotation of the right eye within the head projected onto a virtual screen (in screen pixel coordinates) |
| <eihcx > <eihcy > | X, Y rotation of the "cyclopean" eye within the head projected onto a virtual screen (in screen pixel coordinates) |
| <hisxr > <hisyr > | Angular resolution (in screen pixels per visual degree) along the X-, or X-axis at the current head-in-space position. |
| <eihxr > <eihyr > | Angular resolution (in screen pixels per visual degree) along the X-, or Y-axis at the current eye-in-head position. |
| <pex > <pey > | X, Y position of the pupil ellipse for the monocular eye in camera coordinate |
| <pelx > <pely > | X, Y position of the pupil ellipse for the left eye in camera coordinate |
| <perx > <pery > | X, Y position of the pupil ellipse for the right eye in camera coordinate |
| <pema > | Major axis (in camera pixels) of the monocular pupil ellipse. |
| <pelma > | Major axis (in camera pixels) of the left pupil ellipse. |
| <perma > | Major axis (in camera pixels) of the right pupil ellipse. |
| <pemi > | Minor axis (in camera pixels) of the monocular pupil ellipse. |
| <pelmi > | Minor axis (in camera pixels) of the left pupil ellipse. |
| <permi > | Minor axis (in camera pixels) of the right pupil ellipse. |
| <pea > | Angle (in degrees) between the major-axis and x-axis for the monocular eye. |
| <pela > | Angle (in degrees) between the major-axis and x-axis for the left eye. |
| <pera > | Angle (in degrees) between the major-axis and x-axis for the right eye. |
Samples recorded in P-CR Mode (EyeLink 3)
If the data file being processed was recorded using Pupil-CR mode, each sample line has an added 4 (monocular) or 6 (binocular) character fields before the head tracking data. These fields encode any warning messages relating to the corneal reflection processing that were present for that sample.
-
MONOCULAR Corneal Reflection (CR) Samples
"..." if no warning for sample
first character is "I" if sample was interpolated
second character is "W" if eye exceeded the calibrated angle
third character is "C" if CR missing
fourth character is "R" if CR recovery in progress -
BINOCULAR Corneal Reflection (CR) Samples
"....." if no warning for sample
first character is "I" if sample was interpolated
second character is "W" if any of the eyes exceeded the calibrated angle
third character is "C" if LEFT CR missing
fourth character is "R" if LEFT CR recovery in progress
fifth character is "C" if RIGHT CR missing
six character is "R" if RIGHT CR recovery in progress
Status of Marker Tracking (EyeLink 3)
EyeLink 3 sample lines also provide a string that encodes the status of the Marker tracking for the head tracking data. They are useful for the interpretation of the head tracking data.
- "...." if no warning for Marker tracking
- an X at the first character position indicates the Marker is turned off for IMU-only pose data tracking.
- an X at the second character position indicates that no Marker has been detected for longer than a certain time (settable through the "fusion_horizon_us" command, the default is 10 seconds -above this would suggest that the drift of the IMU alone will be too high to rely on the data).
- an X at the third character position indicates Marker missing (currently > 30 ms) or not yet present
- an X at the fourth character position is designed as a general warning to the user of low pose data confidence.