dbdicom.split_series#

dbdicom.split_series(series: list, attr: str | tuple, key=None) list[source]#

Split a series into multiple series

Parameters:
  • series (list) – series to split.

  • attr (str or tuple) – dicom attribute to split the series by.

  • key (function) – split by by key(attr)

Returns:

list of two-element tuples, where the first element is is the value and the second element is the series corresponding to that value.

Return type:

list