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

Home » Public Forums » archive » Re: how to use wavelet transformation function in IDL?
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
Re: how to use wavelet transformation function in IDL? [message #64624] Tue, 13 January 2009 05:25 Go to next message
jkj is currently offline  jkj
Messages: 48
Registered: April 2007
Member
On Jan 12, 11:17 am, Chris W <cwood1...@gmail.com> wrote:
> On Jan 12, 10:49 am, Hu <jha...@gmail.com> wrote:
>
>> Hi, there
>> I got a time-series data array (suppose array X ), Now I want to use
>> wavelet functions in IDL library to filter the array, so that I can
>> remove the abnormal data elements and make the time-series data more
>> reasonable.
>
>> Which functions should I use?
>
>> In fact, I check some methods like WV_FN_COIFLET, or WV_DENOISE, but
>> it dose not work, and the online help has no examples about this
>> parts. So, I will be appreciate if you can give me an example. Many
>> thanks.
>
> Here are the steps I have used with the discrete wavelet transform:
> (see idl help on wv_dwt)
>
> ;;Get information about the chosen wavelet:
> ;; could use any of the wv_fn_****** functions
> info = wv_fn_symlet(12,scaling,wvx, ioff, joff)
>
> nl = 3 ;; depth of the transform
> ;;Take the wavelet transform:
> xdwt = wv_dwt(image, scaling,wvx, ioff, joff , n_levels=nl)
>
> ;;operate on xdwt, e.g, to get rid of noise
> .......
> newdwt = ..........
>
> ;; inverse the transform with the inverse keyword
> idwt = wv_dwt(newdwt,scaling,wvx,ioff,joff, N_LEVELS=nl, INVERSE=1)

We have been using this IDL wavelet toolkit:

http://paos.colorado.edu/research/wavelets/

-Kevin
Re: how to use wavelet transformation function in IDL? [message #64629 is a reply to message #64624] Mon, 12 January 2009 09:17 Go to previous messageGo to next message
Chris W is currently offline  Chris W
Messages: 12
Registered: May 2007
Junior Member
On Jan 12, 10:49 am, Hu <jha...@gmail.com> wrote:
> Hi, there
> I got a time-series data array (suppose array X ), Now I want to use
> wavelet functions in IDL library to filter the array, so that I can
> remove the abnormal data elements and make the time-series data more
> reasonable.
>
> Which functions should I use?
>
> In fact, I check some methods like WV_FN_COIFLET, or WV_DENOISE, but
> it dose not work, and the online help has no examples about this
> parts. So, I will be appreciate if you can give me an example. Many
> thanks.

Here are the steps I have used with the discrete wavelet transform:
(see idl help on wv_dwt)

;;Get information about the chosen wavelet:
;; could use any of the wv_fn_****** functions
info = wv_fn_symlet(12,scaling,wvx, ioff, joff)

nl = 3 ;; depth of the transform
;;Take the wavelet transform:
xdwt = wv_dwt(image, scaling,wvx, ioff, joff , n_levels=nl)

;;operate on xdwt, e.g, to get rid of noise
.......
newdwt = ..........

;; inverse the transform with the inverse keyword
idwt = wv_dwt(newdwt,scaling,wvx,ioff,joff, N_LEVELS=nl, INVERSE=1)
Re: how to use wavelet transformation function in IDL? [message #64726 is a reply to message #64624] Thu, 15 January 2009 14:01 Go to previous message
Hu is currently offline  Hu
Messages: 35
Registered: January 2009
Member
Really thank you two guys, I will check the website.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: polyfill pattern transparent
Next Topic: ENVI IDL script stops running abruptly

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

Current Time: Wed Oct 08 15:16:12 PDT 2025

Total time taken to generate the page: 0.00687 seconds