Skip to main content

Simulation for Medical Physics

Project description

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.3.2.
  • Compatible with Python 3.9, 3.10, 3.11, 3.12. (Not python 3.13 yet)
  • Warning: on Windows, the multithreading and Qt visualization are not (yet) available.

How to install (short version)

First, create a python environment:

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

Then install the package opengate. The associated package opengate_core is automatically downloaded. opengate_core installs Geant4 librairies.

pip install opengate

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

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:

pip install torch
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

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

opengate-10.0.3.tar.gz (4.9 MB view details)

Uploaded Source

Built Distribution

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

opengate-10.0.3-py3-none-any.whl (5.3 MB view details)

Uploaded Python 3

File details

Details for the file opengate-10.0.3.tar.gz.

File metadata

  • Download URL: opengate-10.0.3.tar.gz
  • Upload date:
  • Size: 4.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for opengate-10.0.3.tar.gz
Algorithm Hash digest
SHA256 4df0599936236b7d6c5dc05d44dc52cb2a7ce17b01d97e2931984b5e16446b4e
MD5 83fd09d89b94a57eb4e4631cb3d74788
BLAKE2b-256 523b96872547bbd60b44e849219a9481eec6227ea4a8cbaa459936f005056d3a

See more details on using hashes here.

File details

Details for the file opengate-10.0.3-py3-none-any.whl.

File metadata

  • Download URL: opengate-10.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for opengate-10.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c3a8e3377b4979565b1bd6cbb495a57e06fb9eba78dc5cdbe9d6a557c162213e
MD5 c5767b587b62a7f721997bf252da06f3
BLAKE2b-256 a45735c1e736a938f773a8e709077fc8704b1fce4ab2862eb00626a4650dba1d

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