[SciPy-user] spline wavelet decomposition

Nils Wagner nwagner at iam.uni-stuttgart.de
Wed May 9 02:53:35 EDT 2007


Nils Wagner wrote:
> Stefan van der Walt wrote:
>   
>> Hi Issa
>>
>> On Fri, May 04, 2007 at 01:47:45PM +0200, Issa Karambal wrote:
>>   
>>     
>>> if there anyone who knows how to simulate 'spline wavelet decomposition
>>> and reconstruction' for a given signal 'f'.
>>>     
>>>       
>> Take a look at
>>
>> http://wavelets.scipy.org
>>
>> which includes different wavelet families, including Haar, Daubechies,
>> Symlets, Coiflets and more.
>>
>> 'demo/dwt_signal_decomposition.py' shows how a signal is decomposed.
>>
>> Regards
>> Stéfan
>>
>> _______________________________________________
>> SciPy-user mailing list
>> SciPy-user at scipy.org
>> http://projects.scipy.org/mailman/listinfo/scipy-user
>>   
>>     
> Hi all,
>
> I tried to install pywt via svn.
>
> python setup.py build
> running build
> running build_py
> creating build
> creating build/lib.linux-x86_64-2.4
> creating build/lib.linux-x86_64-2.4/pywt
> copying pywt/numerix.py -> build/lib.linux-x86_64-2.4/pywt
> copying pywt/wavelet_packets.py -> build/lib.linux-x86_64-2.4/pywt
> copying pywt/wnames.py -> build/lib.linux-x86_64-2.4/pywt
> copying pywt/tresholding.py -> build/lib.linux-x86_64-2.4/pywt
> copying pywt/release_details.py -> build/lib.linux-x86_64-2.4/pywt
> copying pywt/__init__.py -> build/lib.linux-x86_64-2.4/pywt
> copying pywt/multilevel.py -> build/lib.linux-x86_64-2.4/pywt
> copying pywt/multidim.py -> build/lib.linux-x86_64-2.4/pywt
> running build_ext
> building 'pywt._pywt' extension
> Traceback (most recent call last):
>   File "setup.py", line 77, in ?
>     do_setup()
>   File "setup.py", line 72, in do_setup
>     cmdclass = cmdclass,
>   File "/usr/lib64/python2.4/distutils/core.py", line 149, in setup
>     dist.run_commands()
>   File "/usr/lib64/python2.4/distutils/dist.py", line 946, in run_commands
>     self.run_command(cmd)
>   File "/usr/lib64/python2.4/distutils/dist.py", line 966, in run_command
>     cmd_obj.run()
>   File "/usr/lib64/python2.4/distutils/command/build.py", line 112, in run
>     self.run_command(cmd_name)
>   File "/usr/lib64/python2.4/distutils/cmd.py", line 333, in run_command
>     self.distribution.run_command(command)
>   File "/usr/lib64/python2.4/distutils/dist.py", line 966, in run_command
>     cmd_obj.run()
>   File "/usr/lib64/python2.4/distutils/command/build_ext.py", line 279,
> in run
>     self.build_extensions()
>   File "/usr/lib64/python2.4/distutils/command/build_ext.py", line 405,
> in build_extensions
>     self.build_extension(ext)
>   File "/usr/lib64/python2.4/distutils/command/build_ext.py", line 442,
> in build_extension
>     sources = self.swig_sources(sources, ext)
> TypeError: swig_sources() takes exactly 2 arguments (3 given)
>
>
> Any idea how to fix this problem ?
>  
> Nils
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
>   
The problem described above persists on Suse Linux 10.0.
I have installed pyrex and swig.
Any idea ?

Nils

 rpm -q pyrex
pyrex-0.9.3-7
rpm -q swig
swig-1.3.24-4




More information about the SciPy-User mailing list