diff --git a/Analyser/FFTAnalyser.py b/Analyser/FFTAnalyser.py index f70243f..79e1565 100644 --- a/Analyser/FFTAnalyser.py +++ b/Analyser/FFTAnalyser.py @@ -1,5 +1,4 @@ import xarray as xr -import pandas as pd import numpy as np from datetime import datetime @@ -11,9 +10,11 @@ import finufft def fft(dataArray, **kwargs): return xrft.fft(dataArray, **kwargs) + def ifft(dataArray, **kwargs): return xrft.ifft(dataArray, **kwargs) + def fft_nutou(dataArray, modeNum, **kwargs): data = dataArray.to_numpy() @@ -45,6 +46,7 @@ def fft_nutou(dataArray, modeNum, **kwargs): return res + def ifft_nutou(dataArray, modeNum): pass \ No newline at end of file