ml-spectra-processing
    Preparing search index...

    Function xyMedianY

    • Computes the median of Y values in a sliding window around each point.

      Parameters

      • data: DataXY

        Object with x and y arrays of the same length.

      • options: XYMedianYOptions = {}

        Options for the median computation.

      Returns DataXY

      A new DataXY with the same x values and smoothed y values.