screamer.js
    Preparing search index...

    Interface RollingPoly2Options

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

    interface RollingPoly2Options {
        derivativeOrder?: number;
        startPolicy?: string;
        windowSize?: number;
    }
    Index
    derivativeOrder?: number

    What to return from the fitted parabola at the newest sample: 0 gives the fitted value, 1 the first derivative (slope), 2 the second derivative (curvature).

    0

    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 samples in the window.

    20