dbdicom.copy#

dbdicom.copy(from_entity: list, to_entity=None)[source]#

Copy a DICOM entity (patient, study or series)

Parameters:
  • from_entity (list) – entity to copy

  • to_entity (list, optional) – entity after copying. If this is not provided, a copy will be made in the same study and returned.

Returns:

the copied entity. If th to_entity is provided, this is returned.

Return type:

entity