An Oscilloscope Driver.
| 42 | |
| 43 | |
| 44 | class 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 | |
| 58 | class DummyShutter(Driver): |
no outgoing calls
no test coverage detected