projects
/
dcpomatic.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Remove some unused code.
[dcpomatic.git]
/
test
/
fft.py
1
#!/usr/bin/python
2
3
from pylab import *
4
import numpy
5
6
f = open('build/test/lpf_ir')
7
ir = []
8
while True:
9
l = f.readline()
10
if l == "":
11
break
12
13
ir.append(float(l.strip()))
14
15
#plot(abs(numpy.fft.fft(ir)))
16
plot(ir)
17
show()