receiver package¶
Submodules¶
receiver.app module¶
receiver.config module¶
All configuration options can be accessed from here.
-
class
receiver.config.DcmtkConfig(dcmtk_bin, dcmin)¶ Bases:
tuple-
property
dcmin¶ Alias for field number 1
-
property
dcmtk_bin¶ Alias for field number 0
-
property
-
class
receiver.config.PacsConfig(ae_title, ae_called, peer_address, peer_port, incoming_port)¶ Bases:
tuple-
property
ae_called¶ Alias for field number 1
-
property
ae_title¶ Alias for field number 0
-
property
incoming_port¶ Alias for field number 4
-
property
peer_address¶ Alias for field number 2
-
property
peer_port¶ Alias for field number 3
-
property
receiver.job module¶
-
receiver.job.base_command(dcmtk_config, pacs_config)[source]¶ Constructs the first part of a dcmtk command.
-
receiver.job.download_series(config, series_list, dir_name)[source]¶ Download the series. The folder structure is as follows: MAIN_DOWNLOAD_DIR / USER_DEFINED / PATIENTID / ACCESSION_NUMBER / SERIES_NUMER