pydicom.values.convert_DS_string¶
-
pydicom.values.convert_DS_string(byte_string, is_little_endian, struct_format=None)[source]¶ Return a decoded ‘DS’ value.
- Parameters
- Returns
If
use_DS_decimalisTruethen returnsDSdecimalor alistofDSdecimal, otherwise returnsDSfloator alistofDSfloat.- Return type
valuerep.DSfloat or valuerep.DSdecimal or list of DSfloat/DSdecimal