bundles / scipy latest / scipy / fftpack / _pseudo_diffs / cc_diff
function
scipy.fftpack._pseudo_diffs:cc_diff
Signature
def cc_diff ( x , a , b , period = None , _cache = <_thread._local object at 0x0000> ) Summary
Return (a,b)-cosh/cosh pseudo-derivative of a periodic sequence.
Extended Summary
If x_j and y_j are Fourier coefficients of periodic functions x and y, respectively, then
y_j = cosh(j*a*2*pi/period)/cosh(j*b*2*pi/period) * x_jParameters
x: array_likeThe array to take the pseudo-derivative from.
a,b: floatDefines the parameters of the sinh/sinh pseudo-differential operator.
period: float, optionalThe period of the sequence x. Default is
2*pi.
Returns
cc_diff: ndarrayPseudo-derivative of periodic sequence
x.
Notes
cc_diff(cc_diff(x,a,b),b,a) == x
Aliases
-
scipy.fftpack.cc_diff