Merge pull request #79 from yunjunz/snaphu
fix bug while calculating corrLooks for snaphu(_mcf)LT1AB
commit
1cd1ebddce
|
@ -54,7 +54,7 @@ class snaphu(Component):
|
||||||
self.azimuthLooks = obj.insar.topo.numberAzimuthLooks
|
self.azimuthLooks = obj.insar.topo.numberAzimuthLooks
|
||||||
|
|
||||||
azres = obj.insar.masterFrame.platform.antennaLength/2.0
|
azres = obj.insar.masterFrame.platform.antennaLength/2.0
|
||||||
azfact = obj.insar.topo.numberAzimuthLooks *azres / obj.insar.topo.azimuthSpacing
|
azfact = azres / obj.insar.topo.azimuthSpacing
|
||||||
|
|
||||||
rBW = obj.insar.masterFrame.instrument.pulseLength * obj.insar.masterFrame.instrument.chirpSlope
|
rBW = obj.insar.masterFrame.instrument.pulseLength * obj.insar.masterFrame.instrument.chirpSlope
|
||||||
rgres = abs(SPEED_OF_LIGHT / (2.0 * rBW))
|
rgres = abs(SPEED_OF_LIGHT / (2.0 * rBW))
|
||||||
|
|
|
@ -54,7 +54,7 @@ class snaphu_mcf(Component):
|
||||||
self.azimuthLooks = obj.insar.topo.numberAzimuthLooks
|
self.azimuthLooks = obj.insar.topo.numberAzimuthLooks
|
||||||
|
|
||||||
azres = obj.insar.masterFrame.platform.antennaLength/2.0
|
azres = obj.insar.masterFrame.platform.antennaLength/2.0
|
||||||
azfact = obj.insar.topo.numberAzimuthLooks *azres / obj.insar.topo.azimuthSpacing
|
azfact = azres / obj.insar.topo.azimuthSpacing
|
||||||
|
|
||||||
rBW = obj.insar.masterFrame.instrument.pulseLength * obj.insar.masterFrame.instrument.chirpSlope
|
rBW = obj.insar.masterFrame.instrument.pulseLength * obj.insar.masterFrame.instrument.chirpSlope
|
||||||
rgres = abs(SPEED_OF_LIGHT / (2.0 * rBW))
|
rgres = abs(SPEED_OF_LIGHT / (2.0 * rBW))
|
||||||
|
|
Loading…
Reference in New Issue