Channel#
- class pyCGM2.Nexus.Devices.Channel(label: str, values: ndarray, unit: str, description: str)#
Represents a channel in a pyCGM2-Nexus interface.
- label#
The label of the channel.
- Type:
str
- values#
The numerical values associated with the channel.
- Type:
np.ndarray
- unit#
The unit of measurement for the channel’s values.
- Type:
str
- description#
A brief description of the channel.
- Type:
str
- __init__(label: str, values: ndarray, unit: str, description: str)#
Initializes the Channel object with specified label, values, unit, and description.
Methods
__init__
(label, values, unit, description)Initializes the Channel object with specified label, values, unit, and description.
Returns the description of the channel.
getLabel
()Returns the label of the channel.
getUnit
()Returns the unit of measurement for the channel's values.
Returns the values of the channel.
- getDescription()#
Returns the description of the channel.
- Returns:
str – A brief description of the channel.
- getLabel()#
Returns the label of the channel.
- Returns:
str – The label of the channel.
- getUnit()#
Returns the unit of measurement for the channel’s values.
- Returns:
str – The unit of measurement of the channel.
- getValues()#
Returns the values of the channel.
- Returns:
np.ndarray – The numerical values of the channel.