Interesting paper.
So, I guess I will have to modify the averaging code. I can fairly easily check if the difference between the current value and the last value is unexpectedly larger than the difference between the previous value and the one before that, I suppose. It may well work if the bad value is simply replaced with the last good one, as the actual sampling rate is much higher than the desired output rate.
If I then maintain a rolling average rather than just calculating individual blocks of 15 samples averaged together, I'd guess that this would also smooth out the result.
Hmm. I'll have to experiment a little. Thanks.
pca
_________________________
Experience is what you get just after it would have helped...