summaryrefslogtreecommitdiffstats
path: root/prog/icmpft
diff options
context:
space:
mode:
Diffstat (limited to 'prog/icmpft')
-rw-r--r--prog/icmpft/dns1.arnes.profilebin0 -> 175968 bytes
-rw-r--r--prog/icmpft/dns1.arnes.profile2bin0 -> 89120 bytes
-rwxr-xr-xprog/icmpft/fft.py3
3 files changed, 2 insertions, 1 deletions
diff --git a/prog/icmpft/dns1.arnes.profile b/prog/icmpft/dns1.arnes.profile
new file mode 100644
index 0000000..a7ca29c
--- /dev/null
+++ b/prog/icmpft/dns1.arnes.profile
Binary files differ
diff --git a/prog/icmpft/dns1.arnes.profile2 b/prog/icmpft/dns1.arnes.profile2
new file mode 100644
index 0000000..ba7644b
--- /dev/null
+++ b/prog/icmpft/dns1.arnes.profile2
Binary files differ
diff --git a/prog/icmpft/fft.py b/prog/icmpft/fft.py
index d39244a..2350646 100755
--- a/prog/icmpft/fft.py
+++ b/prog/icmpft/fft.py
@@ -18,6 +18,7 @@ matplotlib.use("GTK3Cairo")
from matplotlib import pyplot as plt
for host in hosts:
N = 10
- fft = np.convolve(np.absolute(rfft(list(hosts[host].values()))), np.ones(N)/N, mode='valid')
+ fft = np.absolute(rfft(list(hosts[host].values())))
+ fft = np.convolve(fft, np.ones(N)/N, mode='valid')
plt.plot(list(range(len(fft))), fft)
plt.show()