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

zf(dataset, size=None, mid=False, **kwargs)[source]

Zero fill to given size.

Parameters
  • dataset (NDDataset) – Input dataset.

  • size (int) – Size of data after zero filling.

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

Returns

NDDataset – Modified dataset.