OpenTPS
OpenTPS is a Python application for treatment planning in radiation therapy, based on the MCsquare Monte Carlo dose engine and a CCC dose engine for photons.
The OpenTPS (version 3.0.1) application consists of the packages opentps-core (version 3.0.1) and opentps-gui (version 3.0.1) 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.12.
- 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.12 and activate it:
conda create --name OpenTPS python=3.12
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.shto create a virtual environmentOpenTPS_venvin the current directory (!). This will also install python 3.12 and add it to the path of your bash shell. - Run the script
start_opentps_linux.shin the directory where theOpenTPS_venvwas 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.12 and add it to the path in your system environment.
- Run the script
install_opentps_venv_windows.shto create a virtual environmentOpenTPS_venvin the current directory (!). - Run the script
start_opentps_venv_windows.shin the directory where theOpenTPS_venvwas 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.batscript. This will create an environment namedOpenTPS_venv. - To launch the OpenTPS application, run the
start_opentps_anaconda_windows.batscript.
Metadata
Release files for opentps 3.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| opentps-3.0.1.tar.gz | 63.3 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| opentps-3.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 127.5 MB
Release files / opentps-3.0.1.tar.gz
| Download URL | opentps-3.0.1.tar.gz |
|---|---|
| Size | 63.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
01550f3d8293d591c8cbed98efbab418f9b976227c4efc83b2a871aed6291f5b
|
|
BLAKE2b-256 checksum How to use checksums |
70435fb4eb7fe120918270f21964024b734d33445aff9f6d85caddfc2cae648d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / opentps-3.0.1-py3-none-any.whl
| Download URL | opentps-3.0.1-py3-none-any.whl |
|---|---|
| Size | 64.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
89f9355f2c08fedce0e0ba05f292384fae8fe1685613a0696fdf7cd448225b85
|
|
BLAKE2b-256 checksum How to use checksums |
c5baea0716a434d14e22571bdad835df7a06bae1074593dc3b65c9a92f1925d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|