Function firstDerivative

  • Calculate the first derivative using Savitzky–Golay filter.

    Parameters

    Returns {
        data: {
            x: Float64Array;
            y: Float64Array;
        };
    }

    • data: {
          x: Float64Array;
          y: Float64Array;
      }
      • x: Float64Array
      • y: Float64Array