Configuration file
Some parameters can be tweaked for customization of reports and configuration of Record & Verify systems.
In order to customize Kali MC, the user has to create a text file named local_conf.py and place it in the folder
kali_mc/kali_mc where conf.py resides, if running from source, or inside the _internal folder if running from
the executable file. The configuration will be loaded on startup:
python main.py
local_conf imported
Starting Kali MC v.1.1.0
- DepartmentLogo_path = 'report/logo_gregoriomaranon.png'
The path to the logo of the institution/department. This will show in the generated report.
- DepartmentName = ''
The name of the department, this will show in the generated report.
- PREF = 934.7
Reference Pressure at calibration time (hPa).
WARNING! This affects the Monitor Units calculation!
- PatientSetupLabel = ''
DICOM PatientSetupLabel, this is mapped in MOSAIQ when importing the plan.
- destination_AETitle = 'IMPAC_DCM_SCP'
The AETitle of the destination Record & Verify server. Mosaiq uses ‘IMPAC_DCM_SCP’
- destination_port = 104
Port of the destination Record & Verify server, defaults to 104.
- destination_server = 'mosaiq.yourinstitution.org'
IP or Hostname of the Record & Verify server e.g. 192.168.1.10
- enable_external_data = False
Whether to use external data for MU calculations and R90 values. A valid path is needed in external_data_path
- external_data_path = ''
A valid path to external data files in numpy format, please check the docs for details. Only takes effect if enable_external_data == True.
- locale = 'en'
Default language. Available choices are ‘es_ES’ or ‘en’ [DEFAULT].
- machine = 'LIAC HWL'
The name or model of your linac. This will show in the generated report.
- pdf_path = ''
The default path to save the generated reports. It can be a UNC path.
- rescale_factors = False
Whether to apply rescaling factors to some absorbed dose distributions.
- serial_number = '0000'
The serial number of your linac. This will show in the generated report.
- tol_table_ID = ''
The ID of the Tolerance table to be DICOM exported to the Record & Verify system.
- tol_table_label = ''
The label of the Tolerance table to be DICOM exported to the Record & Verify system.