screamer.js
    Preparing search index...

    Function Hampel

    • Robust Hampel despiker, replace samples far from the window median (in MAD units).

      Parameters

      • windowSize: number = 20

        Trailing-window length.

      • nSigma: number = 3.0

        Threshold in robust standard deviations (1.4826 * MAD).

      • output: string = "cleaned"

        "cleaned" replaces outliers with the median, "flag" emits 1.0 at outliers (else 0.0), "nan" replaces outliers with NaN.

      • startPolicy: string = "strict"

        Warmup handling before the window is full (strict, expanding, or zero).

      Returns ScreamerOp

      https://screamer.readthedocs.io/en/latest/ for the Python reference and full details.