A geometry-aware framework for electromagnetic fields in GATE 10
Marc Ballestero Ribó, Carla Winterhalter, Antony John Lomax, Sairos Safai
Abstract
Objective. An increasing number of medical-physics applications require the modelling of charged-particle transport in electromagnetic (EM) fields. We aim to provide GATE 10 users with a flexible mechanism for defining such fields in Monte Carlo simulations while preserving the native Geant4 particle-transport machinery. Approach. Our framework separates the handling of coordinates from EM field evaluation. Fields are attached to geometry volumes, defined in their local frame, and represented by analytic expressions, field maps, or arbitrary Python functions. They automatically follow the position and orientation of these volumes, including in nested and dynamic geometries. We validated the framework against native Geant4 transport and tested coordinate transformations, nested volumes, and dynamic geometry. We also compared the computational cost of the three field representations. Main results. The framework reproduced the native Geant4 trajectories exactly for all tested field types with direct Geant4 counterparts. Coordinate transformations introduced only floating-point-level differences, while simulations with dynamically changing geometry reproduced the equivalent static configurations exactly. All three representations produced equivalent transport. Mapped fields added at most 18% to the single-threaded runtime of analytic fields, while Python functions required 6.9 times as much. The compiled representations scaled with the number of threads, whereas Python functions became slower as threads were added. Significance. The framework adds flexible, geometry-aware EM field definitions to GATE 10 without modifying the underlying Geant4 transport machinery, and is part of the open-source GATE 10 codebase. It also provides a basis for extending GATE 10 with additional field representations in the future.
Create a lesson
Metadata
- Categories
- physics.med-ph, physics.comp-ph
- Comments
- 16 pages, 2 figures, 2 tables. Submitted to Physics in Medicine & Biology
Related papers
Geometry-bridge flow matching for blind rigid-motion correction in head cone-beam CT
Shared title terminologyphysics.med-phSungho Yun, Seungryong Cho
Multi-UTE Myelin Fraction Mapping: Repeatability and Cross-Field-Strength Reproducibility at 1.5T and 3T
Shared title terminologyphysics.med-phNan Yin, Marco Reisert, Theo Demerath et al.
EQUIP-RPT: A framework for objective evaluation of quantitative imaging methods in radiopharmaceutical therapies
Shared title terminologyphysics.med-phZekun Li, Carlos F. Uribe, Fereshteh Yousefirizi et al.
Sensitivity of diffusion MRI to white matter pathology: a comparison between ROI-based effect size and TBSS analysis under different diffusion protocols, field strengths and post-processing strategies
Shared title terminologyphysics.med-phEvgenios N. Kornaropoulos, Theodor Rumetshofer, Anna Gard et al.
SmartBloch-Agent: An Agentic Framework for Automated MRI Sequence Design and Optimization
Shared title terminologyphysics.med-phJiakai Yang, Haoye Zheng, Yixiao Yue et al.
Influence of Geometry and Tissue Damage on the Mechanical Behaviour of Skin Meshing
Shared title terminologyphysics.med-phMasoumeh Razaghi Pey Ghaleh, Denis O'Mahoney, Kevin Moerman