Pyg4ometry : A Python library for the creation of Monte Carlo radiation transport physical geometries. / Walker, Stuart; Abramov, Andrey; Nevay, Laurence; Shields, William; Boogert, Stewart .

In: Computer Physics Communications, Vol. 272, 108228, 03.2022.

Research output: Contribution to journalArticlepeer-review

E-pub ahead of print


  • Accepted Manuscript

    Accepted author manuscript, 3.99 MB, PDF document

    Embargo ends: 13/11/22

    Licence: CC BY-NC-ND Show licence


Creating and maintaining computer-readable geometries for use in Monte Carlo Radiation Transport (MCRT) simulations is an error-prone and time-consuming task. Simulating a system often requires geometry from different sources and modelling environments, including a range of MCRT codes and computer-aided design (CAD) tools. Pyg4ometry is a Python library that enables users to rapidly create, manipulate, display, debug, read, and write Geometry Description Markup Language (GDML)-based geometry used in MCRT simulations. Pyg4ometry provides importation of CAD files to GDML tessellated solids, conversion of GDML geometry to FLUKA and conversely from FLUKA to GDML. The implementation ofPyg4ometryis explained in detail in this paper and includes a number of small examples to demonstrate some of its capabilities. The paper concludes with a complete example using most of Pyg4ometry’s features and a discussion of possible extensions and future work.
Original languageEnglish
Article number108228
Number of pages14
JournalComputer Physics Communications
Early online date13 Nov 2021
Publication statusE-pub ahead of print - 13 Nov 2021
This open access research output is licenced under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.

ID: 43867274