Simulation for Medical Physics
Project description
See the User Guide.
How to install (short version)
First create an environment (not mandatory but highly advised)
python -m venv opengate_env
source opengate_env/bin/activate
or you can use the conda environment.
conda create --name opengate_env python=3.9
conda activate opengate_env
Warning not available for MacOS Intel with python 3.11 yet.
Then install the package opengate. The package opengate_core is automatically downloaded. opengate_core installs Geant4 v11.1.1 librairies.
pip install --upgrade pip
pip install --pre opengate
If you already installed the packages and want to upgrade to last version:
pip install --upgrade --pre opengate
Once installed, you can run all tests:
opengate_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
The documentation is here: https://opengate-python.readthedocs.io/en/latest/user_guide.html
How to install (long version, for developers)
See the documentation : https://opengate-python.readthedocs.io/en/latest/developer_guide.html#installation-for-developers
WARNING : need Geant4 11.1.1
Project details
Release history Release notifications | RSS feed
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
Hashes for opengate-10.0b3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea54b22c7ffb902287361076bf05df1f8dd90ee580f11916ae9fae9a2992e6d7 |
|
MD5 | 2a989bb96d8ac8ddc48539d93d48a7a1 |
|
BLAKE2b-256 | 5b5a5d49be077c1382bc4b6c2340884b656a141c95458bf227e132d2897af149 |