WrightTools.data.Data.smooth

Data.smooth(factors, channel=None, verbose=True) → WrightTools.data._data.Data[source]

Smooth a channel using an n-dimenional kaiser window.

Note, all arrays are loaded into memory.

For more info see Kaiser_window wikipedia entry.

Parameters
  • factors (int or list of int) – The smoothing factor. You may provide a list of smoothing factors for each axis.

  • channel (int or str or None (optional)) – The channel to smooth. If None, all channels will be smoothed. Default is None.

  • verbose (bool (optional)) – Toggle talkback. Default is True.