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_double

zf_double(dataset, n, mid=False, **kwargs)[source]

Zero fill by doubling original data size once or multiple times.

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

  • n (int) – Number of times to double the size of the data.

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

Returns

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