{ } Raw JSON

bundles / scipy latest / scipy / fftpack / _pseudo_diffs / tilbert

function

scipy.fftpack._pseudo_diffs:tilbert

source: /scipy/fftpack/_pseudo_diffs.py :85

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_like

The input array to transform.

h : float

Defines the parameter of the Tilbert transform.

period : float, optional

The assumed period of the sequence. Default period is 2*pi.

Returns

tilbert : ndarray

The 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