dbdicom.series#

dbdicom.series(entity: str | list, name: str | None = None, contains: str | None = None, isin: list | None = None) list[source]#

Return a list of series in the DICOM folder.

Parameters:
  • entity (str or list) – path to a DICOM folder (to search in the whole folder), or a list identifying a patient or a study (to search series of a given patient or study).

  • name (str, optional) – value of SeriesDescription, to search for series with a given description. Defaults to None.

  • contains (str, optional) – substring of SeriesDescription, to search for series based on part of their description. Defaults to None.

  • isin (list, optional) – List of SeriesDescription values, to search for series whose description is in a list. Defaults to None.

Returns:

list of series fulfilling the criteria.

Return type:

list