Open source TPS for advanced proton therapy
Project description
opentps-gui
GUI of opentps, a Python application for treatment planning in proton therapy, based on the MCsquare Monte Carlo dose engine.
Installation (Linux):
Requirements are listed in pyproject.toml. To install all required dependencies:
poetry install
Note: VTK is only compatible with Python version <= 3.9. Do not use Python 3.10
Installation (Windows):
Note: VTK is only compatible with Python version <= 3.9. Do not use Python 3.10
-
Install anaconda on your Windows computer
-
Open Anaconda Prompt (via the Anaconda application)
-
Create a new Anaconda environment:
conda create --name OpenTPS python=3.8
- Activate the new environment:
conda activate OpenTPS
- Install the following python modules: Python modules:
pip3 install --upgrade pip
pip3 install pydicom
pip3 install numpy
pip3 install scipy
pip3 install matplotlib
pip3 install Pillow
pip3 install PyQt5==5.15.7
pip3 install pyqtgraph
pip3 install sparse_dot_mkl
pip3 install vtk==9.2.6
pip3 install SimpleITK
pip3 install pandas
pip3 install scikit-image
pip3 install pymedphys==0.39.3
pip3
Optional python modules:
pip3 install tensorflow
pip3 install keras
pip3 install cupy
Run:
python3 main.py
or from a python script:
import opentps.gui as opentps_gui
opentps_gui.run()
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
Built Distribution
File details
Details for the file opentps_gui-1.0.6.tar.gz
.
File metadata
- Download URL: opentps_gui-1.0.6.tar.gz
- Upload date:
- Size: 236.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8362ddecec8397ae269bdfb7c270542a82c68f6955ca7c6fa16c73d39fb7a0fc |
|
MD5 | a5056dacd0bb41faca9c4f61f68f135f |
|
BLAKE2b-256 | 6b56c66fbcc875a7b5fd1e4faebaf6160772c3cbfad60ab7f9fcfb30d02d6502 |
File details
Details for the file opentps_gui-1.0.6-py3-none-any.whl
.
File metadata
- Download URL: opentps_gui-1.0.6-py3-none-any.whl
- Upload date:
- Size: 284.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 462dc49e5b4d15b201a708cda4b90997be735338c63627ec021a1caed0020bde |
|
MD5 | 0c3c0d3eb3747940538213b5f0f24e76 |
|
BLAKE2b-256 | d18c5ca956635ff5e28cd200c83f5d0b9f6904ede5199f74837b7653a653adc3 |