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

Home » Public Forums » archive » digital_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
digital_filter [message #58327] Mon, 28 January 2008 06:46 Go to previous message
claire.maraldi is currently offline  claire.maraldi
Messages: 4
Registered: January 2006
Junior Member
Hi,

I have a problem of comprehension with the digital filter tool.

I have an array "X" of n elements, the delta between two elements is
"1unit"
I would like to creat a pass band filter between 1unit and 60 units

In IDL I write

; Filtre : 1unit<T<60unit ;
delta=1. ;
f_low=1./(60.*1.)
f_high=1./(1.*1.)
a_ripple=50. & nterms=40.
coeff=DIGITAL_FILTER(f_low*2*delta, f_high*2*delta, a_ripple, nterms)

X_filter=convol(REFORM(X),coeff,/EDGE_TRUNCATE)


Then when I compute FFT(X_filter), I see than my signal has been cut
between 1 unit and more than 60units (about 100 units). Are my
definitions of f_low and f_high wrong, or is this a problem related to
the digital_filter function ?

Thanks
Claire
[Message index]
 
Read Message
Read Message
Previous Topic: idl and MS word
Next Topic: Re: from 6.4 to 7.0

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

Current Time: Wed Oct 08 19:21:33 PDT 2025

Total time taken to generate the page: 0.00431 seconds