diff --git a/components/isceobj/Unwrap/snaphu.py b/components/isceobj/Unwrap/snaphu.py index 88073a6..cbb51b4 100755 --- a/components/isceobj/Unwrap/snaphu.py +++ b/components/isceobj/Unwrap/snaphu.py @@ -54,7 +54,7 @@ class snaphu(Component): self.azimuthLooks = obj.insar.topo.numberAzimuthLooks 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 rgres = abs(SPEED_OF_LIGHT / (2.0 * rBW)) diff --git a/components/isceobj/Unwrap/snaphu_mcf.py b/components/isceobj/Unwrap/snaphu_mcf.py index 0705d8a..f6cd5fd 100755 --- a/components/isceobj/Unwrap/snaphu_mcf.py +++ b/components/isceobj/Unwrap/snaphu_mcf.py @@ -54,7 +54,7 @@ class snaphu_mcf(Component): self.azimuthLooks = obj.insar.topo.numberAzimuthLooks 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 rgres = abs(SPEED_OF_LIGHT / (2.0 * rBW))