• Returns an information about a signal.

    We expect ordered data and equidistant X axis You can use the method helper if required: ML.ArrayPoints.uniqueX ML.ArrayPoints.sortX ML.ArrayPoints.equallySpaced

    Parameters

    • data: DataXY<NumberArray>

      Object that contains property x (an ordered increasing array) and y (an array)

    • options: XYPeakInfoOptions = {}

      options

    Returns XYPeakInfo | undefined

    • Information about signal