Provides a collection of mathematical utility functions and constants.
Implements a moving minimum filter for processing data streams.
Implements a running average filter for smoothing data.
float previousReading
Stores the previous input value for calculating the rate of change.
float GetOutput()
Retrieves the current filtered derivative output.
DerivativeFilter()
Constructs a DerivativeFilter instance with default configurations.
float outputValue
Stores the most recent filtered derivative value.
float Filter(float value)
Filters the derivative of the input value and normalizes the output.
MinFilter< 40 > minFilter
Minimum filter for baseline normalization.
RunningAverageFilter< 10 > output
Running average filter for smoothing the derivative output.
Implements a minimum filter over a sliding window.
Smooths data values using a weighted running average.