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.
Param: data
data.
Param: minRelativeYValue
the minimum relative value compare to the global Y max value.
Returns
the spectra without their smallest points, the data itself when there is nothing to filter on.
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.Param: data
data.
Param: minRelativeYValue
the minimum relative value compare to the global Y max value.
Returns
the spectra without their smallest points, the data itself when there is nothing to filter on.