OrsExportToDICOM_2e335ceef68f11e9936b309c23d29268

author:

Dragonfly Team

contact:

https://dragonfly.comet.tech

email:

support.dragonfly@comet.tech

organization:

Comet Technologies Canada Inc.

address:

460 Ste-Catherine Ouest, suite 600, Montréal, Québec, Canada, H3B 1A7

copyright:

Comet Technologies Canada Inc. All rights reserved 2023.

date:

Oct 24 2019 14:50

dragonflyVersion:

4.5.0.11524

UUID:

2e335ceef68f11e9936b309c23d29268

Class Code

class OrsPythonPlugins.OrsExportToDICOM_2e335ceef68f11e9936b309c23d29268.OrsExportToDICOM_2e335ceef68f11e9936b309c23d29268.OrsExportToDICOM_2e335ceef68f11e9936b309c23d29268(*args, **kwargs)
interfacemethod exportDatasetToFolder(dataset: Channel, destination_folder: str, slices: List[int] = None, show_progress: bool = False) Tuple[bool, str]

Exports the slices of a dataset in a folder

Parameters:
  • dataset (ORSModel.ors.Channel) – dataset to export the images from

  • destination_folder (folder) – folder where the images will be exported

  • slices (int) [count=[0, None]] – slice indexes of the images to export

  • show_progress (bool) – True to show the progress bar, False otherwise

Returns:
  • result (bool) – Success, True or False

  • error_text (str) – Error message

interfacemethod exportDatasetToLocalNode(dataset: Channel, nodeAET: str, slices: List[int] = None, show_progress: bool = False) Tuple[bool, str]

Exports the slices of a dataset in a node

Parameters:
  • dataset (ORSModel.ors.Channel) – dataset to export the images from

  • nodeAET (str) – node where the images will be exported

  • slices (int) [count=[0, None]] – slice indexes of the images to export

  • show_progress (bool) – True to show the progress bar, False otherwise

Returns:
  • result (bool) – Success, True or False

  • error_text (str) – Error message

classmethod getMainFormClass()

Gets the class of the main form

Returns:

output