bundles / scipy 1.17.1 / scipy / fftpack / _pseudo_diffs / tilbert
function
scipy.fftpack._pseudo_diffs:tilbert
Signature
def tilbert ( x , h , period = None , _cache = <_thread._local object at 0x0000> ) Summary
Return h-Tilbert transform of a periodic sequence x.
Extended Summary
If x_j and y_j are Fourier coefficients of periodic functions x and y, respectively, then
y_j = sqrt(-1)*coth(j*h*2*pi/period) * x_j y_0 = 0
Parameters
x: array_likeThe input array to transform.
h: floatDefines the parameter of the Tilbert transform.
period: float, optionalThe assumed period of the sequence. Default period is
2*pi.
Returns
tilbert: ndarrayThe result of the transform.
Notes
If sum(x, axis=0) == 0 and n = len(x) is odd, then tilbert(itilbert(x)) == x.
If 2 * pi * h / period is approximately 10 or larger, then numerically tilbert == hilbert (theoretically oo-Tilbert == Hilbert).
For even len(x), the Nyquist mode of x is taken zero.
Aliases
-
scipy.fftpack.tilbert