def imdst(X, odd=True):
""" Calculate inverse modified discrete sine transform of input
signal in an inefficient pure-Python method.
Use only for testing.
Parameters
----------
X : array_like
The input signal
odd : boolean, optional
Switch to oddly stacked transform. Defaults to :code:`True`.
Returns
-------
out : array_like
The output signal
"""
return itrans(X, func=numpy.sin, odd=odd) * numpy.sqrt(2)
评论列表
文章目录