Hi, I added a code snippet to dataAnalysis.m to make it work for the option
op.interpolateBlinks = 0
this code is:
if op.interpolateBlinks == 0
in.pupilArea{ff}((isnan(in.pupilArea{ff}))) = 0; % set NaN regions to 0 for myBWfilter
in.pupilArea2 = transpose(in.pupilArea{ff});
end
The background is that myBWfilter.m seems to have problems with NaN data and needs a transposed array as is normally returned by blinkinterp
Hi, I added a code snippet to dataAnalysis.m to make it work for the option
op.interpolateBlinks = 0
this code is:
The background is that myBWfilter.m seems to have problems with NaN data and needs a transposed array as is normally returned by blinkinterp
I just want to check, if this is fine for you.