ml-spectra-processing
    Preparing search index...

    Function xyArrayFilterMinYValue

    Removes from every spectrum the points whose y is below a fraction of the largest y of the whole set. Unlike xyFilterMinYValue, which uses the largest y of the spectrum it filters, the threshold here is the same for all the spectra, so a weak spectrum may lose every one of its points.

    data.

    the minimum relative value compare to the global Y max value.

    the spectra without their smallest points, the data itself when there is nothing to filter on.

    • Parameters

      • data: DataXY<NumberArray>[]
      • minRelativeYValue: number

      Returns DataXY<number[]>[]

    • Parameters

      • data: DataXY<NumberArray>[]
      • OptionalminRelativeYValue: number

      Returns DataXY<NumberArray>[]