projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Some attempts to block referencing of DCPs when it is not possible.
[dcpomatic.git]
/
test
/
fft.py
diff --git a/test/fft.py
b/test/fft.py
new file mode 100644
(file)
index 0000000..
bc6509f
--- /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()