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

    Class Smoother

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

    Index
    • get value(): number | null

      The current value, or null before the first sample.

      Returns number | null

    • Folds a sample in and returns the smoothed value.

      Parameters

      • sample: number

      Returns number