Skip to content

Commit 1c7d86c

Browse files
committed
silenced I2MC (some of the messages weren't correct also)
1 parent 3ea6263 commit 1c7d86c

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

functions/I2MC/I2MCfunc.m

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -161,15 +161,13 @@
161161
%% INTERPOLATION
162162

163163
% get interpolation windows for average and individual eye signals
164-
fprintf('Searching for valid interpolation windows\n');
165164
interpwins = findInterpWins(xpos, ypos, missing,par.windowtimeInterp,par.edgeSampInterp,par.freq,par.maxdisp);
166165
if q2Eyes
167166
llinterpwins = findInterpWins(data.left.X ,data.left.Y ,llmiss ,par.windowtimeInterp,par.edgeSampInterp,par.freq,par.maxdisp);
168167
rrinterpwins = findInterpWins(data.right.X ,data.right.Y ,rrmiss ,par.windowtimeInterp,par.edgeSampInterp,par.freq,par.maxdisp);
169168
end
170169

171170
% Use Steffen interpolation and replace values
172-
fprintf('Replace interpolation windows with Steffen interpolation\n');
173171
[xpos,ypos,missingn]= windowedInterpolate(xpos, ypos, missing, interpwins,par.edgeSampInterp);
174172
if q2Eyes
175173
[llx ,lly ,llmiss] = windowedInterpolate(data.left.X ,data.left.Y ,llmiss ,llinterpwins,par.edgeSampInterp);
@@ -181,34 +179,31 @@
181179
%% CALCULATE 2-MEANS CLUSTERING FOR SINGLE EYE
182180

183181
% get kmeans-clustering for averaged signal
184-
fprintf('2-Means clustering started for averaged signal \n');
185182
[data.finalweights,stopped] = twoClusterWeighting(xpos,ypos,missingn,par.downsamples,par.downsampFilter,par.chebyOrder,par.windowtime,par.steptime,par.freq,par.maxerrors);
186183

187184
% check whether clustering succeeded
188185
if stopped
189-
fprintf('Clustering stopped after exceeding max errors, continuing to next file \n');
186+
fprintf('Clustering stopped after exceeding max errors\n');
190187
return
191188
end
192189

193-
%% CALCULATE 2-MEANS CLUSTERING FOR SEPARATE EYES
194190
elseif q2Eyes
191+
%% CALCULATE 2-MEANS CLUSTERING FOR SEPARATE EYES
195192
% get kmeans-clustering for left eye signal
196-
fprintf('2-Means clustering started for left eye signal \n');
197193
[finalweights_left,stopped] = twoClusterWeighting(llx,lly,llmiss,par.downsamples,par.downsampFilter,par.chebyOrder,par.windowtime,par.steptime,par.freq,par.maxerrors);
198194

199195
% check whether clustering succeeded
200196
if stopped
201-
fprintf('Clustering stopped after exceeding max errors, continuing to next file \n');
197+
fprintf('Clustering stopped after exceeding max errors\n');
202198
return
203199
end
204200

205201
% get kmeans-clustering for right eye signal
206-
fprintf('2-Means clustering started for right eye signal \n');
207202
[finalweights_right,stopped] = twoClusterWeighting(rrx,rry,rrmiss,par.downsamples,par.downsampFilter,par.chebyOrder,par.windowtime,par.steptime,par.freq,par.maxerrors);
208203

209204
% check whether clustering succeeded
210205
if stopped
211-
fprintf('Clustering stopped after exceeding max errors, continuing to next file \n');
206+
fprintf('Clustering stopped after exceeding max errors\n');
212207
return
213208
end
214209

@@ -217,6 +212,5 @@
217212
end
218213

219214
%% DETERMINE FIXATIONS BASED ON FINALWEIGHTS_AVG
220-
fprintf('Determining fixations based on clustering weight mean for averaged signal and separate eyes + 2*std \n')
221215
[fix.cutoff,fix.start,fix.end,fix.startT,fix.endT,fix.dur,fix.xpos,fix.ypos,fix.flankdataloss,fix.fracinterped] = getFixations(data.finalweights,data.time,xpos,ypos,missing,par.cutoffstd,par.onoffsetThresh,par.maxMergeDist,par.maxMergeTime,par.minFixDur);
222216
[fix.RMSxy,fix.BCEA,fix.fixRangeX,fix.fixRangeY] = getFixStats(xpos,ypos,missing,fix.start,fix.end,pixperdeg);

0 commit comments

Comments
 (0)