Python tools for GATE GAN simulations
Project description
GAGA = GAN for GATE
pip install gaga-phsp
Scripts associated with the publication : Phys Med Biol. 2019 doi: https://doi.org/10.1088/1361-6560/ab3fc1 Generative adversarial networks (GAN) for compact beam source modelling in Monte Carlo simulations Sarrut D, Krah N, Letang JM. https://www.ncbi.nlm.nih.gov/pubmed/31470418
A method is proposed and evaluated to model large and inconvenient phase space files used in Monte Carlo simulations by a compact Generative Adversarial Network (GAN). The GAN is trained based on a phase space dataset to create a neural network, called Generator (G), allowing G to mimic the multidimensional data distribution of the phase space. At the end of the training process, G is stored with about 0.5 million weights, around 10MB, instead of few GB of the initial file. Particles are then generated with G to replace the phase space dataset. This concept is applied to beam models from linear accelerators (linacs) and from brachytherapy seed models. Simulations using particles from the reference phase space on one hand and those generated by the GAN on the other hand were compared. 3D distributions of deposited energy obtained from source distributions generated by the GAN were close to the reference ones, with less than 1% of voxel-by-voxel relative difference. Sharp parts such as the brachytherapy emission lines in the energy spectra were not perfectly modeled by the GAN. Detailed statistical properties and limitations of the GAN-generated particles still require further investigation, but the proposed exploratory approach is already promising and paves the way for a wide range of applications
Tests in opengate (https://github.com/OpenGATE/opengate): see test066.
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
File details
Details for the file gaga_phsp-0.7.4.tar.gz
.
File metadata
- Download URL: gaga_phsp-0.7.4.tar.gz
- Upload date:
- Size: 67.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4fe60b604c8412e454463b7dd1fd52afd28d8e8a2ba5b28868c1587e69e48ff |
|
MD5 | 8228f22e0a76a28545604efa6f208a65 |
|
BLAKE2b-256 | 60e54fa40d304ff6b708f126815afbf2a28ee52f14fbeec928ca121cb4183bb0 |
File details
Details for the file gaga_phsp-0.7.4-py3-none-any.whl
.
File metadata
- Download URL: gaga_phsp-0.7.4-py3-none-any.whl
- Upload date:
- Size: 86.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f441159f222c1c6768ce89922937eee89692cd15d30af7ccc49dded06b944adc |
|
MD5 | 97f123f29297e00439e2e82101aa22cc |
|
BLAKE2b-256 | 31f0c43bb4c0dab5ad20ca34f0843edca70f51bcce714251bb136839e21b22dd |