home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / softsys / khoros / 2931 < prev    next >
Encoding:
Text File  |  1992-11-20  |  2.5 KB  |  63 lines

  1. Newsgroups: comp.soft-sys.khoros
  2. Path: sparky!uunet!wupost!udel!louie!eplrx7!moser
  3. From: moser@eplrx7.es.duPont.com (Allan R. Moser)
  4. Subject: 1-D Time Domain Filters
  5. Message-ID: <1992Nov20.191207.2816@eplrx7.es.duPont.com>
  6. Keywords: 1-D signal processing, filters
  7. Organization: DuPont Engineering Physics Laboratory
  8. Date: Fri, 20 Nov 1992 19:12:07 GMT
  9. Lines: 52
  10.  
  11.  
  12. Subject: 1-D Time Domain Filters
  13. Newsgroups: comp.soft-sys.khoros
  14. Keywords: 1-D signal processing, filters
  15.  
  16.    I am using 1-D signal processing routines in Khoros and have run into a 
  17. problem (or a lack of understanding) of dfiltbp (the Frequency Domain filter
  18. design routines) and dfilter ( the 1-D time domain filter routines).
  19.  
  20.    Specifically, I have tried to create a bandpass filter using dfiltbp, 
  21. with parameters:
  22.                 (Butterworth)
  23.                 Sampling Freq.      100 Hz.
  24.                 Lower Reject. Freq.   5
  25.                 Lower Cutoff  Freq.  10
  26.                 Upper Cutoff  Freq.  20
  27.                 Upper Reject. Freq.  25
  28.  
  29. This creates an ascii file for the z-domain transfer function for this filter.
  30.  
  31.  
  32.    I then tried to use dfilter to apply the filter designed by dfiltbp 
  33. described above.  According to the Help pages for dfilter, dfilter filters 
  34. signals according to a transfer function which is input as an ascii file and
  35. can be a z-domain function. (I assume of the kind generated by dfiltbp.)
  36.  
  37.    I tested this on a signals generated by dgsin and dgunif (sin wave and
  38. uniform noise - the sin wave was generated with 100 Hz. sampling,
  39. freq = 15 Hz so it should have been passed by the filter).  The results are 
  40. absurd numbers (lots of really large numbers and NaN's), so I assume that
  41. I am not using these routines correctly.
  42.  
  43.    Does anyone out there know where I've gone wrong?  Thanks in advance
  44. for your help.
  45.  
  46.  
  47.                                         Allan Moser
  48.  
  49.  
  50.  
  51.   +-----------------------------+--------------------------------------------+
  52.   | Allan R. Moser              |    E.I. duPont de Nemours & Company (Inc.) |
  53.   | moser@eplrx7.es.dupont.com  |    Experimental Station Bldg. E357         |
  54.   | (302) 695-7918 (office)     |    P.O. Box 80357                          |
  55.   | (302) 695-7395 (lab)        |    Wilmington, Delaware 19880-0357         |
  56.   +-----------------------------+--------------------------------------------+
  57.  
  58. -- 
  59.  
  60.   +-----------------------------+--------------------------------------------+
  61.   | Allan R. Moser              |    E.I. duPont de Nemours & Company (Inc.) |
  62.   | moser@eplrx7.es.dupont.com  |    Experimental Station Bldg. E357         |
  63.