quantity
¤
Classes:
| Name | Description |
|---|---|
Quantity |
Quantity is used to describe the attributes of a driver |
Functions:
| Name | Description |
|---|---|
newcfg |
generate a new config |
Quantity(name: str, value=None, ch: int = 0, unit: str = '')
¤
Bases: object
Quantity is used to describe the attributes of a driver
Source code in quark/driver/common/quantity.py
30 31 32 33 34 | |
newcfg(quantlist: list[Quantity] = [], CHs: list[int | str] = []) -> dict
¤
generate a new config
Source code in quark/driver/common/quantity.py
40 41 42 43 44 45 46 47 48 49 50 51 | |