Simulation for Medical Physics
Project description
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
Built Distribution
File details
Details for the file gam-gate-0.3.5.tar.gz
.
File metadata
- Download URL: gam-gate-0.3.5.tar.gz
- Upload date:
- Size: 158.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4478b08f7c8b2946c323d6a24661b85308cf52ca159c9f9ca004514108eff84 |
|
MD5 | 40fdc491afa89d01376c3831aa2092ed |
|
BLAKE2b-256 | 4b26a015ecb825011429f2b274757cd20a882d254361f13a141c7ec14b089f4a |
File details
Details for the file gam_gate-0.3.5-py3-none-any.whl
.
File metadata
- Download URL: gam_gate-0.3.5-py3-none-any.whl
- Upload date:
- Size: 158.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d22ae79e2428579983c46e9dd6c68fd825e69c2dcda6a3d80257d3560808218f |
|
MD5 | 397c130c5e2379847be082f1781824c9 |
|
BLAKE2b-256 | 07d0b76d8d592e76dd26532400ed50ffcd98e7afe899e6e13c628b876e6087cf |