screamer.js
    Preparing search index...

    Interface ImpulseClipOptions

    The settings of ImpulseClip by name, for ImpulseClip({ ... }).

    interface ImpulseClipOptions {
        nSigma?: number;
        output?: string;
        startPolicy?: string;
        windowSize?: number;
    }
    Index
    nSigma?: number

    Detection threshold in robust standard deviations of the differences (1.4826 * MAD). Larger values flag fewer samples; 4.0 is typical. inf flags no sample, so the output is the input.

    4.0

    output?: string

    What to return: "cleaned" gives the signal with outliers replaced by the median, "flag" gives 1.0 at outliers and 0.0 elsewhere, and "nan" gives the input with outliers replaced by NaN.

    "cleaned"

    startPolicy?: 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.

    "strict"

    windowSize?: number

    Number of most recent first differences (and values) used for the robust scale and the replacement median.

    20