ml-spectra-processing
    Preparing search index...

    Function xySetYValue

    • Set a value (default 0) to specific zones.

      Parameters

      • data: DataXY

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

      • options: XYSetYValueOptions = {}

        options.

      Returns DataXY

      data with y values set to the given value in the specified zones.