diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-10-13 11:30:30 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-10-13 11:30:30 +0100 |
| commit | 6f23b55a7783f93549115a133ca2e6e938bd0cd1 (patch) | |
| tree | 6c674d088eb37dd9d91992366cfa6ddb3e0e69e5 /test/fft.py | |
| parent | f9068dcbfbb09082e29e2a779ef1a7a2f6ee849e (diff) | |
Some attempts to block referencing of DCPs when it is not possible.
Diffstat (limited to 'test/fft.py')
| -rw-r--r-- | test/fft.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/fft.py b/test/fft.py new file mode 100644 index 000000000..bc6509f6c --- /dev/null +++ b/test/fft.py @@ -0,0 +1,17 @@ +#!/usr/bin/python + +from pylab import * +import numpy + +f = open('build/test/lpf_ir') +ir = [] +while True: + l = f.readline() + if l == "": + break + + ir.append(float(l.strip())) + +#plot(abs(numpy.fft.fft(ir))) +plot(ir) +show() |
