• Apply Savitzky Golay algorithm

    Parameters

    • Optional ys: NumberArray

      Array of y values

    • Optional xs: number | NumberArray

      Array of X or deltaX

    • options: SGGOptions = {}

    Returns Float64Array

    Array containing the new ys (same length)