[SciPy-user] implementation for sine transformation?

Travis Oliphant oliphant at ee.byu.edu
Tue Apr 4 16:32:12 EDT 2006


Christian Meesters wrote:

>Hi,
>
>I'm looking for a way of calculating a sine transformation in Python, which 
>I'd like to apply on a 3D-array. Does anybody know an (tested) 
>implementation? Or could somebody give me a hint how to achieve this using a 
>function from fftpack as a shortcut?
>
>  
>
If you are talking about the discrete sine transform, then there is an 
implementation in the sandbox area of SciPy.

Here's a link to the Python script (look for the functions dst, dst2, 
and dstn). 

http://projects.scipy.org/scipy/scipy/browser/trunk/Lib/sandbox/image/transforms.py

-Travis




More information about the SciPy-User mailing list