Skip to content
Snippets Groups Projects
Commit a1bdb3f9 authored by Thomas Jürges's avatar Thomas Jürges
Browse files

SW-382: Replace Python2 integer division (/) with Python3 one (//)

parent 0e84e5f3
No related branches found
No related tags found
No related merge requests found
......@@ -16,4 +16,4 @@ def psd(data, sampletime):
n = fft_data.size
psd_freq = fft.fftfreq(n, sampletime)
_psd = power(abs(fft_data), 2) / n
return _psd[:n / 2], psd_freq[:n / 2]
return _psd[:n // 2], psd_freq[:n // 2]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment