OrsExportToDICOM_2e335ceef68f11e9936b309c23d29268

author:ORS Team
contact:http://theobjects.com
email:info@theobjects.com
organization:Object Research Systems (ORS), Inc.
address:460 Ste-Catherine Ouest, suite 600, Montréal, Québec, Canada, H3B 1A7
copyright:Object Research Systems (ORS), Inc. All rights reserved 2021.
date:Oct 24 2019 14:50
dragonflyVersion:
 4.5.0.11524
UUID:2e335ceef68f11e9936b309c23d29268

Class Code

class OrsPythonPlugins.OrsExportToDICOM_2e335ceef68f11e9936b309c23d29268.OrsExportToDICOM_2e335ceef68f11e9936b309c23d29268.OrsExportToDICOM_2e335ceef68f11e9936b309c23d29268(varName=None, managed=True)
UIDescriptors = [<ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>]
canBeGenericallyOpened = False
classmethod contextMenu(listSelectedObjectsRepr)
interfacemethod exportDatasetToFolder(dataset, destination_folder, slices=None, show_progress=False)

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, nodeAET, slices=None, show_progress=False)

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
keepAlive = False
multiple = False
classmethod openGUI(guid='')
savable = False