https://github.com/junpenglao/jaefa
Just Another Eye-movement Filtering Algorithm
https://github.com/junpenglao/jaefa
data-analysis eye-movement-data eye-tracking
Last synced: 5 months ago
JSON representation
Just Another Eye-movement Filtering Algorithm
- Host: GitHub
- URL: https://github.com/junpenglao/jaefa
- Owner: junpenglao
- License: mit
- Created: 2016-08-10T16:15:07.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-10T17:43:13.000Z (almost 10 years ago)
- Last Synced: 2023-06-28T14:59:47.810Z (almost 3 years ago)
- Topics: data-analysis, eye-movement-data, eye-tracking
- Language: Matlab
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JAEFA
Just Another Eye-movement Filtering Algorithm (JAEFA) to turn raw eye tracking data into fixation event.
```
>> fixmat = JAEFA(eyex,eyey,timestamp,CondInfo,plotopt);
% output format:
% fixmat - [x_fix,y_fix,dur_fix,num_fix,time_start,time_end,sample_start,sample_end,condinfo]
```
An example is shown in HOWTO.m,
# Under the hood
You will need to update the following parameters in the JAEFA.m to suit your eye tracking setup.
```
%%%%%%%%%%%%%%%%%% Parameters: Please update manually!!! %%%%%%%%%%%%%%%%%%
% Screen Resolution
Res = [0 0 1920 1080];
% Screen Screen_Size in cm
Screen_Size = [52.128 29.322];
% View distance of subjects in cm
Distance = 70;
% velocity calculation duration
velt = 20;
% in degrees per second
angspdthrs = 30;
% Minimal fixation duration in ms (remove fixation with too short duration)
minfixdur = 20; % set to 0 to include all fixations
% Minimal saccade duration in ms (combine fixations that are too short apart)
minsaccsp = 10; % set to 0 to consider all saccades
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
```