screamer.js
    Preparing search index...

    Function RollingSigmaClip

    • Clip samples that lie beyond lower or upper standard deviations from the rolling mean, or replace them with NaN.

      Parameters

      Returns ScreamerOp

    • Clip samples that lie beyond lower or upper standard deviations from the rolling mean, or replace them with NaN.

      Parameters

      • OptionalwindowSize: number

        Number of most recent samples in the window.

      • Optionallower: number | null

        Lower clipping threshold in standard deviations from the rolling mean (for example -3). None disables lower clipping. NaN and -inf also disable it.

      • Optionalupper: number | null

        Upper clipping threshold in standard deviations from the rolling mean (for example 3). None disables upper clipping. NaN and inf also disable it.

      • Optionaloutput: string

        Which value to return: "clipped" gives the input with outliers clipped to the bound, "mean" the rolling mean estimate, "std" the rolling standard deviation estimate, and "nan" the input with outliers replaced by NaN.

      • OptionalstartPolicy: string

        Output before the window is full: "strict" gives NaN, "expanding" computes from the samples seen so far, and "zero" treats the window as pre-filled with zeros.

      Returns ScreamerOp