DemoSmuDevice#
Controls the simulated demo SMU, which needs no hardware, from Python. This class inherits from Smu.
property can_measure_bias#
Indicates whether the SMU can measure its bias. The demo SMU can.
Returns#
| Type | Description |
|---|---|
| bool | Always True for the demo SMU. |
Example#
smu = measmatic.get_device('device-demo-smu')
can_measure = smu.can_measure_bias
method initialize()#
Initializes the demo SMU. This has no effect.
Example#
smu = measmatic.get_device('device-demo-smu')
smu.initialize()
method measure(voltage: Any, current: Any)#
Measures the output voltage and current. In Python the out parameters are returned as result tuple.
Parameters#
| Name | Description |
|---|---|
| voltage | Out parameter, returned as part of the result tuple. The simulated voltage in volts. |
| current | Out parameter, returned as part of the result tuple. The simulated current in amperes. |
Returns#
| Type | Description |
|---|---|
| float | Simulated voltage in volts. |
| float | Simulated current in amperes. |
Example#
smu = measmatic.get_device('device-demo-smu')
voltage, current = smu.measure()