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):
-
Install anaconda on your Windows computer
-
Open Anaconda Prompt (via the Anaconda application)
-
Create a new Anaconda environment:
conda create --name OpenTPS python=3.12
- Activate the new environment:
conda activate OpenTPS
- 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
Metadata
Release files for opentps-core 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_core-3.0.1.tar.gz | 63.1 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| opentps_core-3.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 127.1 MB
Release files / opentps_core-3.0.1.tar.gz
| Download URL | opentps_core-3.0.1.tar.gz |
|---|---|
| Size | 63.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
619846d520f9f20d651062e0d09eba404c7a71c76e5668c269ca6b8269c0592f
|
|
BLAKE2b-256 checksum How to use checksums |
fec74a332d6cb0feac808f34b69c5ddfcc831029029f7b5232b18bcdd963c6d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / opentps_core-3.0.1-py3-none-any.whl
| Download URL | opentps_core-3.0.1-py3-none-any.whl |
|---|---|
| Size | 63.9 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dcbc95c08c177018dffec41086aaef4c8ec930096dad1cbe0a0bee994bdc98f1
|
|
BLAKE2b-256 checksum How to use checksums |
00c5393e7b0abe26427e39be65e5c3bbe04417539de174fd7f6be36f7d7e8b06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|