My simplistic interpolation scheme was to count the number of
contiguous bad source data lines and interpolate that many
points over the gap. I got what I planned, but more often than not,
the bad source spans many more sample points than bad lines caught.
Now it looks as though I need to do a little analysis on the incoming
data to find an average sample rate, and find any spans that are above
+/- 1 second of that rate. Then interpolate over the gap, and sample
the interpolation at the computed sample interval.
|