ml-spectra-processing
    Preparing search index...

    Function reimZeroFilling

    • This function make a zero filling to re and im part.

      Type Parameters

      • ArrayType extends DoubleArray

      Parameters

      • data: DataReIm<ArrayType>

        object of kind {re:[], im:[]}

      • totalLength: number

        final number of points

      Returns DataReIm<ArrayType>

      • New DataReIm object with zero-filled, truncated arrays if totalLength is smaller current length or the same input if totalLength is equal that current length