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

Home » Public Forums » archive » Digital filter question
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: Digital filter question [message #3092 is a reply to message #3002] Thu, 03 November 1994 09:38 Go to previous message
soc is currently offline  soc
Messages: 12
Registered: October 1994
Junior Member
MEL (larkum@optolab.unibe.ch) wrote:
: I can't understand description of DIGITAL_FILTER in the PV-Wave
: manual. I have some data with an annoying 50Hz mains signal that
: I'd like to try to filter out. The manual talks about the Nyquist
: Frequency as 1/2T, where T is the time elapsed between data samples.

: Well, I have data sampled at 20 kHz, so as far as I can tell,
: the Nyquist frequency for this data is 10 000. Am I right?
: Now what? (besides read a book on digital signal processing).
: What should my low and high frequencies be to set a bandpass
: filter around 50 Hz, expressing them as "fractions of the
: Nyquist frequency" as "numbers between 0 and 1".

: Thanks anyone,

I havent used the routine but I expect your 50Hz is just 50/10000
so that the two numbers setting the low and high are 49.5/10000 and
50.5/10000 for a bandpass of 1Hz centered on 50Hz..ie 4.95e-3 and
5.05e-3

Hope this helps...
Rob


: Matthew.
: ____________________________________________________________ ______________
: Matthew Larkum
: Physiologisches Institut
: Buehlplatz 5, CH-3012 Bern Switzerland
: Ph. 41 31 658726 Fax. 41 31 654611
: Internet: larkum@optolab.unibe.ch
: matthewl@cortex.physiol.su.OZ.AU
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Remember, IDL Ver 3.5, no handlers. must use IDL 3.6
Next Topic: Resetting a DRAW widget to have new size/scroll area...?

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

Current Time: Wed Oct 08 17:37:49 PDT 2025

Total time taken to generate the page: 0.00428 seconds