aboutsummaryrefslogtreecommitdiffstats
path: root/astro/spectrogram.py
diff options
context:
space:
mode:
Diffstat (limited to 'astro/spectrogram.py')
-rwxr-xr-xastro/spectrogram.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/astro/spectrogram.py b/astro/spectrogram.py
index 2edc09a..6121544 100755
--- a/astro/spectrogram.py
+++ b/astro/spectrogram.py
@@ -61,7 +61,7 @@ class Spectrogram:
def calc_fourier(self):
logger.info('Calculating FFT ...')
- z = fftpack.fftshift(fftpack.fft(self.data, axis=0), axis=0)
+ z = fftpack.fftshift(fftpack.fft(self.data, axis=0), axes=0)
return (np.abs(z), np.real(z), np.imag(z))