pydicom.values.convert_SQ¶
-
pydicom.values.
convert_SQ
(byte_string, is_implicit_VR, is_little_endian, encoding='iso8859', offset=0)¶ Return a decoded ‘SQ’ value.
- Parameters
byte_string (bytes or str) – The encoded ‘SQ’ element value.
is_implicit_VR (bool) –
True
if the value is encoded as implicit VR,False
otherwise.is_little_endian (bool) –
True
if the value is encoded as little endian,False
otherwise.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