Open source TPS for advanced proton therapy
Project description
OpenTPS
Python application for treatment planning in proton therapy, based on the MCsquare Monte Carlo dose engine.
Installation (Linux):
Note: VTK is only compatible with Python version <= 3.9. Do not use Python 3.10
system libraries (Ubuntu 19 or more recent):
sudo apt install libmkl-rt
system libraries (Ubuntu 18):
cd /tmp
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB
apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB
sudo sh -c 'echo deb https://apt.repos.intel.com/mkl all main > /etc/apt/sources.list.d/intel-mkl.list'
sudo apt-get update
sudo apt-get install intel-mkl-64bit-2020.1-102
echo 'export LD_LIBRARY_PATH=/opt/intel/mkl/lib/intel64:$LD_LIBRARY_PATH' | sudo tee -a /etc/profile.d/mkl_lib.sh
# adapted from: http://dirk.eddelbuettel.com/blog/2018/04/15/
Python modules:
pip3 install --upgrade --user pip
pip3 install --user pydicom
pip3 install --user numpy
pip3 install --user scipy
pip3 install --user matplotlib
pip3 install --user Pillow
pip3 install --user PyQt5==5.14
pip3 install --user pyqtgraph
pip3 install --user sparse_dot_mkl
pip3 install --user vtk
pip3 install --user SimpleITK
pip3 install --user pandas
pip3
Optional python modules:
pip3 install --user tensorflow
pip3 install --user keras
pip3 install --user cupy
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 --user pip
pip3 install --user pydicom
pip3 install --user numpy
pip3 install --user scipy
pip3 install --user matplotlib
pip3 install --user Pillow
pip3 install --user PyQt5==5.14
pip3 install --user pyqtgraph
pip3 install --user sparse_dot_mkl
pip3 install --user vtk
pip3 install --user SimpleITK
pip3 install --user pandas
pip3
Optional python modules:
pip3 install --user tensorflow
pip3 install --user keras
pip3 install --user cupy
Run:
python3 main.py
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
opentps-gui-1.0.3.tar.gz
(229.4 kB
view hashes)
Built Distribution
opentps_gui-1.0.3-py3-none-any.whl
(271.4 kB
view hashes)
Close
Hashes for opentps_gui-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a05cfbe1bd03a709e77a141a31c65ea8e03db94228d5be4c0474c4e9b643bf49 |
|
MD5 | d14c5beb68b5ba0069c3995370fb1814 |
|
BLAKE2b-256 | 6bfd90a4c132e258934c3cbd7a4aa1d8fc0b429db8b9758d5115c50cb49f9799 |