pamoja for TypeScript - v0.1.17
    Preparing search index...

    Class Smoother

    Smooths a noisy reading by weighting each new sample against the running value.

    Index
    • Folds a sample in and returns the smoothed value.

      Parameters

      • sample: number

      Returns number

    • Returns the current value, or null before the first sample.

      Returns number | null