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