Return (a,b)-cosh/sinh pseudo-derivative of a periodic sequence.
If x_j and y_j are Fourier coefficients of periodic functions x and y, respectively, then:
y_j = -sqrt(-1)*cosh(j*a*2*pi/period)/sinh(j*b*2*pi/period) * x_j
y_0 = 0
Parameters : | x : array_like
a, b : float
period : float, optional
|
---|---|
Returns : | cs_diff : ndarray
|
Notes
For even len(x), the Nyquist mode of x is taken as zero.