A command line interface to independently calculate doses from Oncentra MasterPlan brachytherapy RTPlan files. For research purposes only.
pip install -r requirements.txt
Open up hdrpackage\serverconfig.cfg
and edit the following details:
Driver={MIMER};
Server=[name/ip address of server];
Database=OTP_DATABASE;
Uid=DBLOOK;
Pwd=[database password]
You can test your connection to the database by running:
python tests\test_dbconn.py
which should pass if successful.
python main.py
to start the program. You'll be prompted to enter the patient ID, case label, and plan name. You can quit at any time by entering quit
. The program will return the RTPLAN file from the selected plan for processing.
The RTPLAN file is parsed by hdrpackage\parse_omp_rtplan.py
.
The TG43 brachytherapy dose calculation method is included here for use with a MicroSelectron 192Ir source. Raw source data files have been transcribed from the ESTRO consensus dataset in the hdrpackage\source_files
directory. Care has been taken to interpret the TG43 reports for recommendations on interpolation/extrapolation routines, but this will not necessarily reflect the operation of Oncentra MasterPlan.
Run tests with:
python tests\tests.py