Function xyRealMaxYPoint

  • Find the closest minimum going down hill

    Parameters

    • data: DataXY<NumberArray>

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

    • options: {} = {}

      options

    Returns PointWithIndex

    • An object with the x/y value