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 
Return to the default flat view Create a new topic Submit Reply
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 previous 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)
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: polyfill pattern transparent
Next Topic: ENVI IDL script stops running abruptly

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

Current Time: Fri Oct 10 15:11:36 PDT 2025

Total time taken to generate the page: 1.84079 seconds