diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2023-12-10 18:09:11 +0100 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2023-12-10 18:09:11 +0100 |
commit | d7e3a7ccccf7849e0cdcda2f12568d152b9c6739 (patch) | |
tree | 7d218cb6382aa7e2cc7278191488e3d1ca585666 /prog/icmpft | |
parent | aoc10 (diff) | |
download | r-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.profile | bin | 0 -> 175968 bytes | |||
-rw-r--r-- | prog/icmpft/dns1.arnes.profile2 | bin | 0 -> 89120 bytes | |||
-rwxr-xr-x | prog/icmpft/fft.py | 3 |
3 files changed, 2 insertions, 1 deletions
diff --git a/prog/icmpft/dns1.arnes.profile b/prog/icmpft/dns1.arnes.profile Binary files differnew file mode 100644 index 0000000..a7ca29c --- /dev/null +++ b/prog/icmpft/dns1.arnes.profile diff --git a/prog/icmpft/dns1.arnes.profile2 b/prog/icmpft/dns1.arnes.profile2 Binary files differnew file mode 100644 index 0000000..ba7644b --- /dev/null +++ b/prog/icmpft/dns1.arnes.profile2 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() |