Skip to content

Commit

Permalink
Offset delay was off by a factor of 10 (10e12 vs 1e12)
Browse files Browse the repository at this point in the history
  • Loading branch information
mihtjel committed Dec 5, 2019
1 parent 41ec185 commit e003715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NanoVNASaver/Calibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ def reset(self):

def setOffsetDelay(self, value: float):
logger.debug("New offset delay value: %f ps", value)
self.app.worker.offsetDelay = value / 10e12
self.app.worker.offsetDelay = value / 1e12
if len(self.app.worker.rawData11) > 0:
# There's raw data, so we can get corrected data
logger.debug("Applying new offset to existing sweep data.")
Expand Down

0 comments on commit e003715

Please sign in to comment.