Skip to main content

Open source TPS for advanced proton therapy

Project description

opentps-core

Core library of opentps, a Python application for treatment planning in radiation therapy, based on the MCsquare Monte Carlo dose engine and a CCC dose engine for photons.

Installation (Linux):

Requirements are listed in pyproject.toml. To install all required dependencies:

poetry install

Additional system libraries (Ubuntu 19 or more recent):

sudo apt install libmkl-rt

Additional 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/

Optional python modules:

pip3 install --user tensorflow
pip3 install --user keras
pip3 install --user cupy

Installation (Windows):

  1. Install anaconda on your Windows computer

  2. Open Anaconda Prompt (via the Anaconda application)

  3. Create a new Anaconda environment:

conda create --name OpenTPS python=3.12
  1. Activate the new environment:
conda activate OpenTPS
  1. Install the following python modules: Python modules:
pip3 install --upgrade pip
pip3 install pydicom
pip3 install numpy>=1.24.0
pip3 install scipy
pip3 install matplotlib
pip3 install Pillow
pip3 install sparse_dot_mkl
pip3 install SimpleITK
pip3 install pandas
pip3 install scikit-image
pip3 install pymedphys==0.40.0
pip3

Optional python modules:

pip3 install tensorflow
pip3 install keras
pip3 install cupy

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_core-3.0.0.tar.gz (63.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

opentps_core-3.0.0-py3-none-any.whl (64.0 MB view details)

Uploaded Python 3

File details

Details for the file opentps_core-3.0.0.tar.gz.

File metadata

  • Download URL: opentps_core-3.0.0.tar.gz
  • Upload date:
  • Size: 63.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for opentps_core-3.0.0.tar.gz
Algorithm Hash digest
SHA256 230117643c46aadee5506c3663bc98dcb35717be71d8a7f44f5aced53feb619b
MD5 62271fac12961ef65b9eb9b11f8376a7
BLAKE2b-256 d4f773c3e39ef51594ae3a9c0a5a5a852aaeaddf0cb4dd2109124415915e8c78

See more details on using hashes here.

File details

Details for the file opentps_core-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: opentps_core-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 64.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for opentps_core-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b9d9443bbf2af14affeff9ce1791d88a7822a40dfe98816d988e729b5712f93f
MD5 04138ef7b560009296abbcb6d01886c2
BLAKE2b-256 34ba5ae46dbfb71c041e6184421a1d06306dc13ddd79e4005b66d1e864f75a04

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page