Skip to content

Commit 551d750

Browse files
committed
updated readme and help text
1 parent 9022d44 commit 551d750

File tree

2 files changed

+18
-16
lines changed

2 files changed

+18
-16
lines changed

I2MC.m

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,24 @@
33
% The I2MC algorithm was designed to accomplish fixation detection in data
44
% across a wide range of noise levels and when periods of data loss may
55
% occur.
6-
6+
%
77
% Cite as:
88
% Hessels, R.S., Niehorster, D.C., Kemner, C., & Hooge, I.T.C., (2016).
99
% Noise-robust fixation detection in eye-movement data - Identification by
10-
% 2-means clustering (I2MC). Submitted.
11-
10+
% 2-means clustering (I2MC). Behavior Research Methods.
11+
%
1212
% For more information, questions, or to check whether we have updated to a
1313
% better version, e-mail: [email protected] / [email protected]. I2MC is
1414
% available from www.github.com/royhessels/I2MC
15-
15+
%
1616
% Most parts of the I2MC algorithm are licensed under the Creative Commons
1717
% Attribution 4.0 (CC BY 4.0) license. Some functions are under MIT
1818
% license, and some may be under other licenses.
19-
19+
%
2020
% Quick start guide for adopting this script for your own data:
2121
% 1) Build an import function specific for your data (see importTobiiTX300
2222
% for an example).
23-
23+
%
2424
% 2) Change line 106 to use your new import function. The format should be:
2525
%
2626
% data.time for the timestamp
@@ -31,15 +31,15 @@
3131
% You may provide coordinates from both eyes, only the left, only the
3232
% right, or only the average.
3333
% Gaze coordinates should be in pixels, timestamps should be in milliseconds
34-
34+
%
3535
% 3) Adjust the variables in the "necessary variables" section to match your
3636
% data
3737
% 4) Run the algorithm
38-
39-
% Requirements: Signal Processing Toolbox for downsampling. If not
40-
% available you may set opt.downsample to []. This may, however, degrade
41-
% performance of the algorithm.
42-
38+
%
39+
% Note: Signal Processing Toolbox is required for the default downsampling
40+
% procedure. If not available, set opt.downsampFilter to 0. This will use a
41+
% different downsampling procedure.
42+
%
4343
% Tested on MATLAB R2012a, R2014b & R2016a
4444

4545
%% INITIALIZE

README

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
The I2MC algorithm was designed to accomplish fixation detection in data across a wide range of noise levels and when periods of data loss may occur.
22

33
Cite as:
4-
Hessels, R.S., Niehorster, D.C., Kemner, C., & Hooge, I.T.C., (2016). Noise-robust fixation detection in eye-movement data - Identification by 2-means clustering (I2MC). Submitted.
4+
Hessels, R.S., Niehorster, D.C., Kemner, C., & Hooge, I.T.C., (2016). Noise-robust fixation detection in eye-movement data - Identification by 2-means clustering (I2MC). Behavior Research Methods.
55

66
For more information, questions, or to check whether we have updated to a better version, e-mail: [email protected] / [email protected]. I2MC is available from www.github.com/royhessels/I2MC
77

@@ -17,11 +17,13 @@ data.left.X & data.left.Y for left gaze coordinates
1717
data.right.X & data.right.Y for right gaze coordinates
1818
data.average.X & data.average.Y for average gaze coordinates
1919

20-
You may provide coordinates from both eyes, only the left, only the right, or only the average. Gaze coordinates should be in pixels, timestamps should be in milliseconds
20+
You may provide coordinates from both eyes, only the left, only the right, or only the average.
21+
Gaze coordinates should be in pixels, timestamps should be in milliseconds
2122

22-
3) Adjust the variables in the "necessary variables" section to match your data
23+
3) Adjust the variables in the "necessary variables" section to match your
24+
data
2325
4) Run the algorithm
2426

25-
Requirements: Signal Processing Toolbox for downsampling. If not available you may set opt.downsample to []. This may, however, degrade performance of the algorithm.
27+
Note: Signal Processing Toolbox is required for the default downsampling procedure. If not available, set opt.downsampFilter to 0. This will use a different downsampling procedure.
2628

2729
Tested on MATLAB R2012a, R2014b & R2016a

0 commit comments

Comments
 (0)