From ebe27ec44cab567590f6d7a67cb5904a8a87cb5b Mon Sep 17 00:00:00 2001 From: CunrenLiang <56097947+CunrenLiang@users.noreply.github.com> Date: Mon, 13 Apr 2020 12:34:51 -0700 Subject: [PATCH] remove 'from scipy.interpolate import interp1d' remove the following from routines where it is not needed: > from scipy import interpolate > from scipy.interpolate import interp1d --- components/isceobj/TopsProc/runIon.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/components/isceobj/TopsProc/runIon.py b/components/isceobj/TopsProc/runIon.py index bedfbaa..e2258ae 100644 --- a/components/isceobj/TopsProc/runIon.py +++ b/components/isceobj/TopsProc/runIon.py @@ -1680,8 +1680,6 @@ def computeDopplerOffset(burst, firstline, lastline, firstcolumn, lastcolumn, nr output: first lines > 0, last lines < 0 ''' - from scipy import interpolate - from scipy.interpolate import interp1d Vs = np.linalg.norm(burst.orbit.interpolateOrbit(burst.sensingMid, method='hermite').getVelocity()) Ks = 2 * Vs * burst.azimuthSteeringRate / burst.radarWavelength @@ -1896,8 +1894,6 @@ def filt_gaussian(self, ionParam): currently not implemented. a less accurate method is to use ionsphere without any projection ''' - from scipy import interpolate - from scipy.interpolate import interp1d ################################################# #SET PARAMETERS HERE