Warning

You are reading the documentation related to the development version. Go here if you are looking for the documentation of the stable release.

spectrochempy.zf_auto

zf_auto(dataset, mid=False)[source]

Zero fill to next largest power of two.

Parameters
  • dataset (ndarray) – Array of NMR data.

  • mid (bool) – True to zero fill in the middle of data.

Returns

ndata (ndarray) – Zero filled array of NMR data.