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

    Flags a reading that stands out from the ones before it.

    Index
    • Creates a detector that flags a reading sigmas deviations from the mean of up to capacity readings before it, 32 unless told fewer.

      A spread needs two readings, so capacity is at least 2.

      Parameters

      • sigmas: number
      • Optionalcapacity: number | null

      Returns kit.Anomaly

    • get capacity(): number

      How many readings the baseline keeps.

      Returns number

    • Folds a reading in and reports whether it stands out.

      Nothing is flagged before two readings are held; from the third on, a reading can be, and one that is not a finite number always is.

      Parameters

      • reading: number

      Returns boolean