We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 87bf511 + ff55ee0 commit 772a592Copy full SHA for 772a592
load_xdf.m
@@ -527,7 +527,7 @@
527
528
% identify breaks in the data
529
diffs = diff(temp(k).time_stamps);
530
- breaks_at = diffs > max(opts.JitterBreakThresholdSeconds,opts.JitterBreakThresholdSamples*temp(k).sampling_interval);
+ breaks_at = abs(diffs) > max(opts.JitterBreakThresholdSeconds,opts.JitterBreakThresholdSamples*temp(k).sampling_interval);
531
if any(breaks_at)
532
% turn the break mask into a cell array of [begin,end] index ranges
533
tmp = find(breaks_at)';
0 commit comments