Skip to main content

Simulation for Medical Physics

Project description

GitHub tag (latest by date) CI Read the Docs Binder

This experiment is a work in progress. Even the name (gam-gate) is temporary and will be changed.

How to install (short version)

First create an environment (not mandatory but highly advised)

conda create --name gam_env python=3.8
conda activate gam_env

Warning not available for python 3.10 yet.

Then install the package gam-gate. The package gam-g4 is automatically downloaded.

pip install gam-gate

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

pip install gam-gate -U

Once installed, you can run all tests:

gam_gate_tests

All tests are in the folder here. Some data (binary files) are stored, for technical reasons, in this git: https://gitlab.in2p3.fr/opengamgate/gam_tests_data (which is stored as a git submodule).

WARNING 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 dont 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

How to install (long version, for developers)

See the documentation : https://gam-gate.readthedocs.io/en/latest/developer_guide.html#installation-for-developers

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

gam-gate-0.3.5.tar.gz (158.0 MB view hashes)

Uploaded Source

Built Distribution

gam_gate-0.3.5-py3-none-any.whl (158.4 MB view hashes)

Uploaded Python 3

Supported by

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