hvl_ccb.utils.conversion.utils
- class SetAttr(default, name, limits, absolut=False, dtype=(<class 'int'>, <class 'float'>), validator=None)[source]
Bases:
GetAttr
- convert_value_to_str(*value: ndarray[tuple[int, ...], dtype[_ScalarType_co]]) list[str | list[str]][source]
Converts two sets of values to strings. This is necessary because a 0-dim array needs different treatment than a 1-dim array
- Parameters:
value – array of values either 0-dim or 1-dim
:return:converted se