summaryrefslogtreecommitdiffstats
path: root/prog/icmpft
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-12-10 18:09:11 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2023-12-10 18:09:11 +0100
commitd7e3a7ccccf7849e0cdcda2f12568d152b9c6739 (patch)
tree7d218cb6382aa7e2cc7278191488e3d1ca585666 /prog/icmpft
parentaoc10 (diff)
downloadr-d7e3a7ccccf7849e0cdcda2f12568d152b9c6739.tar
r-d7e3a7ccccf7849e0cdcda2f12568d152b9c6739.tar.gz
r-d7e3a7ccccf7849e0cdcda2f12568d152b9c6739.tar.bz2
r-d7e3a7ccccf7849e0cdcda2f12568d152b9c6739.tar.lz
r-d7e3a7ccccf7849e0cdcda2f12568d152b9c6739.tar.xz
r-d7e3a7ccccf7849e0cdcda2f12568d152b9c6739.tar.zst
r-d7e3a7ccccf7849e0cdcda2f12568d152b9c6739.zip
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()