{"id":13654514,"url":"https://github.com/OpenGATE/opengate","last_synced_at":"2025-04-23T09:33:35.721Z","repository":{"id":37101602,"uuid":"433001794","full_name":"OpenGATE/opengate","owner":"OpenGATE","description":"Gate 10","archived":false,"fork":false,"pushed_at":"2025-04-17T14:59:15.000Z","size":19929,"stargazers_count":87,"open_issues_count":102,"forks_count":66,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-18T01:47:06.865Z","etag":null,"topics":["medical-physics","monte-carlo-simulation","physics-simulation","python"],"latest_commit_sha":null,"homepage":"http://www.opengatecollaboration.org","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenGATE.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-11-29T10:40:14.000Z","updated_at":"2025-04-15T13:41:30.000Z","dependencies_parsed_at":"2023-10-11T13:34:26.076Z","dependency_job_id":"4f0ed2e2-5741-46e6-841f-84b6bc368f8e","html_url":"https://github.com/OpenGATE/opengate","commit_stats":{"total_commits":2033,"total_committers":21,"mean_commits":96.80952380952381,"dds":0.6089522872602067,"last_synced_commit":"fcaae6dfeb10bcdbe4aab05d630028350735556c"},"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenGATE%2Fopengate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenGATE%2Fopengate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenGATE%2Fopengate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenGATE%2Fopengate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenGATE","download_url":"https://codeload.github.com/OpenGATE/opengate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250407714,"owners_count":21425549,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["medical-physics","monte-carlo-simulation","physics-simulation","python"],"created_at":"2024-08-02T03:00:36.372Z","updated_at":"2025-04-23T09:33:30.709Z","avatar_url":"https://github.com/OpenGATE.png","language":"C","funding_links":[],"categories":["Libraries"],"sub_categories":[],"readme":"![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/OpenGATE/opengate?logo=github)\n[![Read the Docs](https://img.shields.io/readthedocs/opengate-python/master?logo=read-the-docs\u0026style=plastic)](https://opengate-python.readthedocs.io/)\n[![CI](https://github.com/OpenGATE/opengate/actions/workflows/main.yml/badge.svg)](https://github.com/OpenGATE/opengate/actions/workflows/main.yml)\n[![cirrus CI](https://api.cirrus-ci.com/github/OpenGATE/opengate.svg)](https://cirrus-ci.com/github/OpenGATE/opengate)\n[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/OpenGATE/opengate/master.svg)](https://results.pre-commit.ci/latest/github/OpenGATE/opengate/master)\n\n## This is GATE10 **beta** version. The first non-beta release will be officially announced ~in the summer~ autumn 2024.\n\nSee the [User Guide](https://opengate-python.readthedocs.io). The current version uses [Geant4 11.2.1](https://geant4.web.cern.ch).\n\n\n### How to install (short version)\n\n*Compatible with Python 3.9, 3.10, 3.11, 3.12. On Windows multithreading and Qt visualization are not (yet) available.*\n\nFirst, create an environment (not mandatory but highly advised)\n\n```\npython -m venv opengate_env\nsource opengate_env/bin/activate\n```\n\nor you can use the conda environment.\n\n```\nconda create --name opengate_env python=3.12\nconda activate opengate_env\n```\n\nThen install the package opengate. The package ```opengate_core``` is automatically downloaded. ```opengate_core``` installs Geant4 librairies.\n```\npip install --upgrade pip\npip install --pre opengate\n```\n\n*Warning* while it is still beta, the `--pre` option is needed.\n\nIf you already installed the packages and want to upgrade to the latest version:\n\n```\npip install --upgrade --pre opengate\n```\n\nOnce installed, you can run all tests:\n````\nopengate_tests\n````\n\n**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:\n````\nexport GIT_SSL_NO_VERIFY=1\n````\n\nAll tests are in the folder [here](https://github.com/OpenGATE/opengate/tree/master/opengate/tests/src). The test 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).\n\n**WARNING (2)** Some tests (e.g. test034) needs [gaga-phsp](https://github.com/dsarrut/gaga-phsp) which needs [pytorch](https://pytorch.org/) 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\n````\npip install torch\npip install gaga-phsp\n````\n\n**WARNING (3)** With some linux systems (not all), you may encounter an error similar to “cannot allocate memory in static TLS block”. In that case, you must add a specific path to the linker as follows:\n````\nexport LD_PRELOAD=\u003cpath to libG4processes\u003e:\u003cpath to libG4geometry\u003e:${LD_PRELOAD}\n````\n\nThe documentation is here: https://opengate-python.readthedocs.io/en/master/user_guide/index.html\n\nThe test history can be visualized here: https://opengate.github.io/opengate_tests_results/\n\n### How to install (long version, for developers)\n\nSee the [developer guide](https://opengate-python.readthedocs.io/en/master/developer_guide/index.html#installation-for-developers)\n\n\n## Included third party C++ libraries\n- https://github.com/pybind/pybind11\n- https://github.com/fmtlib/fmt\n- https://github.com/p-ranav/indicators\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOpenGATE%2Fopengate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FOpenGATE%2Fopengate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOpenGATE%2Fopengate/lists"}