remove 'from scipy.interpolate import interp1d'
remove the following from routines where it is not needed: > from scipy import interpolate > from scipy.interpolate import interp1dLT1AB
parent
c2a4a4a08e
commit
ebe27ec44c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue