Automatic sample and hold


Automatic sample and hold based on a threshold.  Samples the threshold when the difference between the current value and the previous sampled value exceeds the threshold.  Has a timeout parameter so you can set a minimum time between samples.   Handy for discretizing continuous sources especially when you don’t want a rhythmic grid superimposed on them.