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

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

receiver.config.dcmtk_config(config)[source]

Returns the dcmtk configuration.

receiver.config.pacs_config(config)[source]

Returns the pacs configuration parameters.

receiver.executor module

receiver.executor.run(cmd)[source]

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

receiver.job.queue(cmd)[source]
receiver.job.transfer_command(dcmkt_config, pacs_config, target, study_uid, series_uid)[source]

Constructs the first part of the transfer command to a PACS node.

receiver.job.transfer_series(config, series_list, target)[source]

Module contents