screamer.js
    Preparing search index...

    Function RollingPoly1

    • OLS fit y = a + b*t over a trailing window. derivative_order selects value/slope/zero.

      Parameters

      • windowSize: number = 20

        Trailing-window length.

      • derivativeOrder: number = 0

        0 = fitted value at the last sample, 1 = slope.

      • startPolicy: string = "strict"

        Warmup behaviour.

      Returns ScreamerOp

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