Skip to main content

GitHub tag (latest by date) Read the Docs CI cirrus CI pre-commit.ci status

This is GATE 10

GATE is an open-source Monte Carlo simulation platform designed for modeling and simulating medical imaging systems, radiotherapy, and radiation dosimetry. It extends Geant4 with features tailored for time-dependent simulations, imaging physics, and therapy modeling. Widely used in medical physics research, GATE supports advanced applications such as PET, SPECT, CT, internal and external beam radiotherapy. GATE fosters collaboration through its active open-source community, enabling continuous development and shared innovation.

GATE 10 introduces a Python-based interface, replacing the macro scripting of GATE 9.x, offering improved flexibility, readability, and integration with modern scientific workflows. Read our motivation.

  • Documentation: see the User Guide.
  • This current version uses Geant4 11.4.2.
  • Compatible with Python 3.10, 3.11, 3.12, 3.13, 3.14.
  • Warning: on Windows, the multithreading and Qt visualization are not (yet) available.

How to install (short version)

First, create a python environment:

python3 -m venv opengate_env
source opengate_env/bin/activate
python -m pip install --upgrade pip

Then install the package opengate:

python -m pip install opengate

The associated package opengate_core is automatically downloaded. opengate_core installs Geant4 librairies.

If you already installed the packages and want to upgrade to the latest version:

python -m pip install --upgrade opengate

Once installed, you can run all tests:

opengate_tests

WARNING (1) The first time you run this command, the Geant4 data and the test data will be downloaded. If the download fails (on some systems), try to add the following command before running opengate_tests:

export GIT_SSL_NO_VERIFY=1

All tests are in the folder here. The test data (binary files) are stored as a git submodule here: https://gitlab.in2p3.fr/opengamgate/gam_tests_data.

WARNING (2) Some tests (e.g. test034) needs gaga-phsp which needs pytorch that cannot really be automatically installed by the previous pip install (at least we don't know how to do). So, in order to run those tests, you will have to install both PyTorch and gaga-phsp first with:

python -m pip install torch
python -m pip install gaga-phsp

The test history can be visualized here: https://opengate.github.io/opengate_tests_results

How to install (long version, for developers)

See the developer guide

Included third party C++ libraries

References collaboration papers:

Metadata

Release files for opengate 10.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for opengate 10.1.1
File Size Uploaded
opengate-10.1.1.tar.gz 5.0 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for opengate 10.1.1
File Interpreter ABI Platform
opengate-10.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 10.4 MB

Release files / opengate-10.1.1.tar.gz

Download URL opengate-10.1.1.tar.gz
Size 5.0 MB
Tags Source
SHA-256 checksum
How to use checksums
002a47d4142065b15fc262852bd0bb6cb4e718d5fed3510fbd4cf9138643f013
BLAKE2b-256 checksum
How to use checksums
caf2b4736b6fd2504648be4ba3d72837c6e1a457d0d2c69fd6335785908c823a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.14

Release files / opengate-10.1.1-py3-none-any.whl

Download URL opengate-10.1.1-py3-none-any.whl
Size 5.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
34f45ac3000f322c7cbeff965046042974a11975d7a6ec6564b3801f14b12c42
BLAKE2b-256 checksum
How to use checksums
bf3264d3fa084f045b6d20b58001a2d22decba288d9f1c69a3aaa81d17194bf4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.14
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page