optimaze import
This commit is contained in:
parent
8fddd8bb21
commit
ab0e4cb83b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user