ml-spectra-processing
    Preparing search index...

    Function xyRollingCircle

    • Rolls a circle (or an ellipse when yRadius / relativeYRadius is used) along the data and returns the resulting curve together with the points it touches.

      The touched points are the ones supporting the curve. With position: 'bottom' and shifted: false they are the anchor points of a baseline, and with position: 'top' they are the points lying on the upper hull of the data.

      xyRollingCircleTransform is the shortcut returning only y.

      Parameters

      • data: DataXY

        data with x and y arrays.

      • options: RollingCircleOptions = {}

        options.

      Returns XYRollingCircleResult

      the curve and the points it touches.