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

Class DummyOsci

lantz/drivers/examples/dummydrivers.py:44–55  ·  view source on GitHub ↗

An Oscilloscope Driver.

Source from the content-addressed store, hash-verified

42
43
44class DummyOsci(Driver):
45 """An Oscilloscope Driver.
46 """
47
48 def __init__(self, *args, **kwargs):
49 super().__init__(*args, **kwargs)
50
51 self._amplitude = ureg.volt
52
53 @Action()
54 def measure(self):
55 return np.random.random((100, ))
56
57
58class DummyShutter(Driver):

Callers 6

example2-gui.pyFile · 0.90
example3-cli2.pyFile · 0.90
example4-gui2.pyFile · 0.90
example1-cli.pyFile · 0.90
example2-plot.pyFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected