Metadata-Version: 2.3
Name: opentps-gui
Version: 2.0.0
Summary: Open source TPS for advanced proton therapy
Home-page: http://opentps.org/
License: GPLv3
Author: Sylvain Deffet
Author-email: sylvaindeffet@gmail.com
Requires-Python: >=3.11,<3.12
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: Pillow (>=9.4.0,<10.0.0)
Requires-Dist: PyQt5 (==5.15.10)
Requires-Dist: PyQt5-Qt5 (==5.15.2)
Requires-Dist: SimpleITK (>=2.2.1,<3.0.0)
Requires-Dist: cachecontrol
Requires-Dist: numpy (>=1.26.4,<2.0.0)
Requires-Dist: pandas (>=2.2.3,<3.0.0)
Requires-Dist: pydicom (>=3.0.1,<4.0.0)
Requires-Dist: pymedphys (>=0.40.0,<0.41.0)
Requires-Dist: pyqtgraph (>=0.13.1,<0.14.0)
Requires-Dist: scikit-image
Requires-Dist: setuptools (>=67.8.0,<68.0.0)
Requires-Dist: sparse-dot-mkl (>=0.9.6,<0.10.0)
Requires-Dist: vtk (==9.2.6)
Description-Content-Type: text/markdown

# 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
```

## 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.11
```

4. Activate the new environment:

```
conda activate OpenTPS
```

5. 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 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.40.0
pip3
```

Optional python modules:

```
pip3 install tensorflow
pip3 install keras
pip3 install cupy
```

## Run:

```
python3 main.py
```

or from a python script:

```python
import opentps.gui as opentps_gui
opentps_gui.run()
```

