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

Home » Public Forums » archive » Re: Low pass filter
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: Low pass filter [message #19161] Fri, 25 February 2000 00:00 Go to previous message
Mark D. Williams is currently offline  Mark D. Williams
Messages: 15
Registered: November 1999
Junior Member
Mike wrote:
>
> Hi,
>
> I was wondering if anyone could point me in the direction of a library
> that produces a lowpass filter to filter high frequency data from an
> hourly time series?

Have you tried DIGITAL_FILTER? I'm using PV-WAVE, but looking in
the .pro source for it, it looks like something common to both
IDL and PV-WAVE. It produces a kernel of convolution coefficients,
and it is tune-able, allowing you to vary the low and high
frequency cutoffs of the filter, as a fraction of the Nyquist
frequency.

Once it has spit out the kernel coefficients, you just use
them in CONVOL to filter your signal, a la:

flow = 0.20 ; low frequency cutoff as fraction of Nyquist frequency
fhigh = 0.85 ; high frequency cutoff as fraction of Nyquist frequency
gibbs = 50 ; approx size in dB of gibbs oscillations (a good guess will
work here)
order = 20 ; number of terms in filter

kernel = DIGITAL_FILTER(flow, fhigh, gibbs, order)
filtered = CONVOL(signal, kernel)

Hope this helps,

M. Williams
Resource Engineering, Inc.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: VDE2000 Call for Posters
Next Topic: Some special behaviour of ROUTINE_NAMES

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

Current Time: Fri Oct 10 03:49:00 PDT 2025

Total time taken to generate the page: 2.32093 seconds