ss_diff — SciPy v1.15.3 Manual (original) (raw)

scipy.fftpack.

scipy.fftpack.ss_diff(x, a, b, period=None, _cache=<_thread._local object>)[source]#

Return (a,b)-sinh/sinh pseudo-derivative of a periodic sequence x.

If x_j and y_j are Fourier coefficients of periodic functions x and y, respectively, then:

y_j = sinh(ja2pi/period)/sinh(jb2pi/period) * x_j y_0 = a/b * x_0

Parameters:

xarray_like

The array to take the pseudo-derivative from.

a,b

Defines the parameters of the sinh/sinh pseudo-differential operator.

periodfloat, optional

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

Notes

ss_diff(ss_diff(x,a,b),b,a) == x