pydicom.values.convert_SQ¶
-
pydicom.values.convert_SQ(byte_string, is_implicit_VR, is_little_endian, encoding='iso8859', offset=0)[source]¶ Return a decoded ‘SQ’ value.
- Parameters
byte_string (bytes or str) – The encoded ‘SQ’ element value.
is_implicit_VR (bool) –
Trueif the value is encoded as implicit VR,Falseotherwise.is_little_endian (bool) –
Trueif the value is encoded as little endian,Falseotherwise.encoding (list of str, optional) – The character encoding scheme(s) used to encoded any text VR elements within the sequence value.
'iso8859'is used by default.offset (int, optional) – The byte offset in byte_string to the start of the sequence value.
- Returns
The decoded sequence.
- Return type