Open source TPS for advanced proton therapy
Project description
OpenTPS
OpenTPS is a Python application for treatment planning in proton therapy, based on the MCsquare Monte Carlo dose engine.
The OpenTPS (version 1.1.1) application consists of the packages opentps-core (version 1.1.1) and opentps-gui (version 1.0.5) which are also available separately.
If you are using OpenTPS as part of your research, teaching, or other activities, we would be grateful if you could star the repository and/or cite our work.
If you want to cite OpenTPS, feel free to cite our white paper accessible here on arxiv or with the following bibtex reference :
@misc{wuyckens2023opentps,
title={OpenTPS -- Open-source treatment planning system for research in proton therapy},
author={S. Wuyckens and D. Dasnoy and G. Janssens and V. Hamaide and M. Huet and E. Loÿen and G. Rotsart de Hertaing and B. Macq and E. Sterpin and J. A. Lee and K. Souris and S. Deffet},
year={2023},
eprint={2303.00365},
archivePrefix={arXiv},
primaryClass={physics.med-ph}
}
Installing and running OpenTPS as an end user
Without Anaconda (Linux and Windows)
- Install Python 3.9.
- If you don't want to install OpenTPS and its dependencies in your global Python environment: Create a virtual environment and activate it before going to step 3.
- Install the opentps package with pip:
pip install opentps
- Run opentps in the command line to see the OpenTPS GUI:
opentps
On Windows with Anaconda
- Install the latest version of Anaconda: https://www.anaconda.com/.
- In a conda prompt, create a new virtual environment with python 3.9 and activate it:
conda create --name OpenTPS python=3.9
conda activate OpenTPS
- Install OpenTPS:
pip install opentps
- Start it with:
opentps
Installing and running OpenTPS as a developer
On Linux
- Clone the OpenTPS git repository or download the source code.
- Run the script
install_opentps_linux.sh
to create a virtual environmentOpenTPS_venv
in the current directory (!). This will also install python 3.9 and add it to the path of your bash shell. - Run the script
start_opentps_linux.sh
in the directory where theOpenTPS_venv
was created in step 2 to start the OpenTPS GUI.
On Windows (without Anaconda)
- Clone the OpenTPS git repository or download the source code.
- Install Python 3.9 and add it to the path in your system environment.
- Run the script
install_opentps_venv_windows.sh
to create a virtual environmentOpenTPS_venv
in the current directory (!). - Run the script
start_opentps_venv_windows.sh
in the directory where theOpenTPS_venv
was created in step 2 to start the OpenTPS GUI.
On Windows (with Anaconda)
If you have Anaconda installed:
- Open an Anaconda prompt and execute the
install_opentps_anaconda_windows.bat
script. This will create an environment namedOpenTPS_venv
. - To launch the OpenTPS application, run the
start_opentps_anaconda_windows.bat
script.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file opentps-1.1.1.tar.gz
.
File metadata
- Download URL: opentps-1.1.1.tar.gz
- Upload date:
- Size: 79.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91bae90ee704a1751b31b4bb8d2dbd7dfab5544de0f238eb351100be112179c5 |
|
MD5 | 9204673ecb9ca0a2ed9f055fec1a8587 |
|
BLAKE2b-256 | 5adbc1ddfbe22f9e89909232adc0231fad2dce2c58897265b1a2c6c6e6cd92c2 |