types¤
Custom type annotations.
MessageDataType
module-attribute
¤
Data type to use to read/write bytes from/to equipment.
MessageFormat
module-attribute
¤
MessageFormat = Literal['ascii', 'hp', 'ieee']
Format to use to read/write bytes from/to equipment.
NumpyArray1D
module-attribute
¤
A 1-dimensional numpy.array of numbers.
PathLike
module-attribute
¤
Sequence1D
module-attribute
¤
Sequence1D = Sequence[float] | NumpyArray1D
A 1-dimensional sequence of numbers.
XMLSource
module-attribute
¤
XMLSource = Union[
int, PathLike, SupportsRead[bytes] | SupportsRead[str]
]
A path-like object or a file-like object for parsing XML content.
SupportsRead
¤
Bases: Protocol[_T_co]
A file-like object that has a read
method.