smoothing

class gps_helper.smoothing.LowPassFilter(alpha)

Low pass filter implementation.

next_sample(x)

Process the next sample.

Parameters:x – Next sample value.
Returns:float
class gps_helper.smoothing.MovingAverageFilter(n)

Moving average filter implementation.

next_sample(x)

Process the next sample.

Parameters:x – Next data sample to compute average
Returns:float
class gps_helper.smoothing.RecursiveAverage

Recursive average filter implementation.

next_sample(x)

Process the next data sample.

Parameters:x – Next data sample to compute average
Returns:float