Low Pass
Construct a new Low-pass filter with a gain in the domain (0, 1) exclusive.
Parameters
gain
gain in (0, 1), higher values of the gain are smoother but have more phase lag, while low values of the gain allow more noise but will respond faster to quick changes in the measured state.