comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Question relating to IDL wavelet methods
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Question relating to IDL wavelet methods [message #64804] Fri, 16 January 2009 11:01
Hu is currently offline  Hu
Messages: 35
Registered: January 2009
Member
Hi, there
I got an array X which having 152 elements, and I want to use some
wavelet methods to remove noise (abnormal elements), Here is my code
in IDL

;;////////////////////////////////////////////////////////// //////
;;generate array X with 152 elements
X=[....]

;;get information of specific wavelet (DAUBECHIES)
infomation=WV_FN_DAUBECHIES(8,scaling,wavelet,ioff,joff)

;;define stop level
nl=3

;;perform wavelet transformation
xdwt = wv_dwt(X,scaling,wavelet,ioff,joff,n_levels=nl) ;;-------
here is the error source

;; denoise
newdwt=wv_denoise(xdwt,'DAUBECHIES',3)

;;inverse wavelet transform
idwt = wv_dwt(newdwt,scaling,wvx,ioff,joff,N_LEVELS=nl,INVERSE=1)
help,idwt
print,'idwt is',idwt
;;////////////////////////////////////////////////////////// ////

The error information is:
WV_DWT: Input array dimensions must be less than 4 or a power of 2.

Can anybody here tell me the reason why this happened? and how can it
be solved?

Thanks

Hu
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How to find second minimum elements in an array in IDL?
Next Topic: Re: Question relating to IDL wavelet methods

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:15:47 PDT 2025

Total time taken to generate the page: 0.03315 seconds