Function xWhitakerSmoother

  • Computes the baseline points for the given data using an iterative smoothing algorithm.

    Parameters

    • yData: NumberArray

      The input data array.

    • options: XWhitakerSmootherOptions = {}

      The options for baseline computation.

    Returns
        | number[]
        | Float64Array<ArrayBuffer>
        | Int8Array<ArrayBuffer>
        | Uint8Array<ArrayBuffer>
        | Uint8ClampedArray<ArrayBuffer>
        | Int16Array<ArrayBuffer>
        | Uint16Array<ArrayBuffer>
        | Int32Array<ArrayBuffer>
        | Uint32Array<ArrayBuffer>
        | Float32Array<ArrayBuffer>

    • The computed baseline points.