dbdicom.unique#

dbdicom.unique(pars: list, entity: list) dict[source]#

Return a list of unique values for a DICOM entity

Parameters:
  • pars (list, str/tuple) – attribute or attributes to return.

  • entity (list) – DICOM entity to search (Patient, Study or Series)

Returns:

if a pars is a list, this returns a dictionary with unique values for each attribute. If pars is a scalar this returnes a list of values

Return type:

dict