MCPcopy Create free account
hub / github.com/LabPy/lantz / scan

Method scan

examples/scanfrequency-gui.py:62–67  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

60 class Scanner(QtCore.QObject):
61
62 def scan(self):
63 # Call the scan frequency
64 scan_frequency(inst, start.value() * Hz, stop.value() * Hz,
65 step.value() * Hz, wait.value() * sec)
66 # When it finishes, set the progress to 100%
67 progress.setValue(100)
68
69 thread = QtCore.QThread()
70 scanner = Scanner()

Callers

nothing calls this directly

Calls 3

scan_frequencyFunction · 0.90
valueMethod · 0.45
setValueMethod · 0.45

Tested by

no test coverage detected