decimate#
- class diffsptk.Decimation(period, start=0, dim=-1)[source]#
See this page for details.
- Parameters:
- periodint >= 1
Decimation period, \(P\).
- startint >= 0
Start point, \(S\).
- dimint
Dimension along which to shift the tensors.
- diffsptk.functional.decimate(x, period=1, start=0, dim=-1)[source]#
Decimate signal.
- Parameters:
- xTensor [shape=(…, T, …)]
Signal.
- periodint >= 1
Decimation period, \(P\).
- startint >= 0
Start point, \(S\).
- dimint
Dimension along which to decimate the tensors.
- Returns:
- outTensor [shape=(…, T/P-S, …)]
Decimated signal.
See also