From d88898aef70bcc9e80a278506b2ef2ce0e10a4a4 Mon Sep 17 00:00:00 2001 From: Carlos Paniagua Date: Fri, 2 Feb 2024 15:46:36 -0500 Subject: [PATCH] Update generalized_FT.py fix: remove duplicate import and reorganize --- .../ICEsat2_SI_tools/generalized_FT.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/icesat2_tracks/ICEsat2_SI_tools/generalized_FT.py b/src/icesat2_tracks/ICEsat2_SI_tools/generalized_FT.py index 9037bb7a..85158d1e 100644 --- a/src/icesat2_tracks/ICEsat2_SI_tools/generalized_FT.py +++ b/src/icesat2_tracks/ICEsat2_SI_tools/generalized_FT.py @@ -1,14 +1,15 @@ +import copy +import time + +from numpy import linalg import numpy as np -import matplotlib.pyplot as plt -from icesat2_tracks.ICEsat2_SI_tools import lanczos, spectral_estimates as spec +import pandas as pd import xarray as xr import matplotlib.pyplot as plt -import copy -import pandas as pd -import time from scipy.signal import detrend -from numpy import linalg import lmfit as LM + +from icesat2_tracks.ICEsat2_SI_tools import lanczos, spectral_estimates as spec import icesat2_tracks.local_modules.JONSWAP_gamma as spectal_models