wayland/running-median@0.0.1

License: MIT

Library to determine the running median using a circular buffer. Wraps https://github.com/RobTillaart/Arduino/tree/master/libraries/RunningMedian
NodeDescription
get-count
Reports the number of values stored in the sample buffer.
get-highest
Get the highest value in the sample buffer.
get-lowest
Get the lowest value in the sample buffer.
get-mean
Get the mean of the values stored in the sample buffer.
clear
Empty the sample buffer.
get-quantile
Get specified quantile of values stored in the sample buffer.
is-full
Is the buffer full?
get-trimmed-mean
Get the mean of the middle N values in the sample buffer. The trimmed mean excludes noise from outliers.
add
Adds a new value to the sample buffer. If the buffer is already full the new value replaces the oldest element.
get-median
Get the median of the values stored in the sample buffer.
sample-buffer
Create a sample buffer.
01-example
Patch for testing and demonstration.
To use the nodes in your project you should have the wayland/running-median library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.