% given a simulated (or real!) series of input data,
% process it according to my algorithm.
%
% 1. repeat some of the pattern on the end, so we can see the last zero-crossing
