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
LT1AB
CunrenLiang 2020-04-13 12:34:51 -07:00 committed by GitHub
parent c2a4a4a08e
commit ebe27ec44c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -1680,8 +1680,6 @@ def computeDopplerOffset(burst, firstline, lastline, firstcolumn, lastcolumn, nr
output: first lines > 0, last lines < 0 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()) Vs = np.linalg.norm(burst.orbit.interpolateOrbit(burst.sensingMid, method='hermite').getVelocity())
Ks = 2 * Vs * burst.azimuthSteeringRate / burst.radarWavelength Ks = 2 * Vs * burst.azimuthSteeringRate / burst.radarWavelength
@ -1896,8 +1894,6 @@ def filt_gaussian(self, ionParam):
currently not implemented. currently not implemented.
a less accurate method is to use ionsphere without any projection a less accurate method is to use ionsphere without any projection
''' '''
from scipy import interpolate
from scipy.interpolate import interp1d
################################################# #################################################
#SET PARAMETERS HERE #SET PARAMETERS HERE