Skip to content

Commit

Permalink
Merge pull request #428 from BobRengelink/master
Browse files Browse the repository at this point in the history
Bugfix on customlockbox_example
  • Loading branch information
lneuhaus authored Nov 17, 2020
2 parents d53b829 + 172c170 commit a63d282
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ def calibrate(self):
""" This is a simplified calibration method. InputSignal.calibrate works better than this in most cases. """
self.lockbox.sweep()
# get a curve of the signal during the sweep
curve = self.sweep_acquire()
curve,_ = self.sweep_acquire()
# fill self.mean, min, max, rms with values from acquired curve.
self.get_stats_from_curve(curve=curve)
self.calibration_data.get_stats_from_curve(curve=curve)


class CustomLockbox(Lockbox):
Expand Down

0 comments on commit a63d282

Please sign in to comment.