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 #3082 is a reply to message #3002] Fri, 04 November 1994 06:25 Go to previous messageGo to previous message
alps is currently offline  alps
Messages: 4
Registered: October 1994
Junior Member
In <CypD06.7tD@festival.ed.ac.uk> soc@festival.ed.ac.uk (Stephen O'Connell) writes:

> 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
I he is right, except for the part that ..................^^^^^^^^^
should be 50/2*10000 and similary for the bandpass...

> 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...
Alps

> : 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:45:05 PDT 2025

Total time taken to generate the page: 0.00446 seconds