ml-spectra-processing
    Preparing search index...

    Function reimZeroFilling

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

      Parameters

      • data: DataReIm

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

      • totalLength: number

        final number of points

      Returns DataReIm

      • 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