Python version of a DCE DRO phantom. Based on the matlab version available at https://github.com/anstepsa/dce-dro-matlab
I use mkvirtualenv on MacOSx (Sonoma 14.5). To set it up, instructions can be found elsewhere, such as in the official documentation. I haven't tested other options, but I believe there is no much difference when using other tools, such as the python native venv.
Once you are in the virtual environment, install the required modules listed in the requirements.txt: