Golosio, B., Schoonjans, T., Brunetti, A., Oliva, P., Masala, Giovanni Luca (2014) Monte Carlo simulation of X-ray imaging and spectroscopy experiments using quadric geometry and variance reduction techniques. Computer Physics Communications, 185 (3). pp. 1044-1052. ISSN 0010-4655. (doi:10.1016/j.cpc.2013.10.034) (The full text of this publication is not currently available from this repository. You may be able to access a copy if URLs are provided) (KAR id:91415)
The full text of this publication is not currently available from this repository. You may be able to access a copy if URLs are provided. | |
Official URL: https://doi.org/10.1016/j.cpc.2013.10.034 |
Abstract
The simulation of X-ray imaging experiments is often performed using deterministic codes, which can be relatively fast and easy to use. However, such codes are generally not suitable for the simulation of even slightly more complex experimental conditions, involving, for instance, first-order or higher-order scattering, X-ray fluorescence emissions, or more complex geometries, particularly for experiments that combine spatial resolution with spectral information. In such cases, simulations are often performed using codes based on the Monte Carlo method. In a simple Monte Carlo approach, the interaction position of an X-ray photon and the state of the photon after an interaction are obtained simply according to the theoretical probability distributions. This approach may be quite inefficient because the final channels of interest may include only a limited region of space or photons produced by a rare interaction, e.g., fluorescent emission from elements with very low concentrations. In the field of X-ray fluorescence spectroscopy, this problem has been solved by combining the Monte Carlo method with variance reduction techniques, which can reduce the computation time by several orders of magnitude. In this work, we present a C++ code for the general simulation of X-ray imaging and spectroscopy experiments, based on the application of the Monte Carlo method in combination with variance reduction techniques, with a description of sample geometry based on quadric surfaces. We describe the benefits of the object-oriented approach in terms of code maintenance, the flexibility of the program for the simulation of different experimental conditions and the possibility of easily adding new modules. Sample applications in the fields of X-ray imaging and X-ray spectroscopy are discussed.
Program summary
Program title: XRMC
Catalogue identifier: AERO_v1_0
Program summary URL:http://cpc.cs.qub.ac.uk/summaries/AERO_v1_0.html
Program obtainable from: CPC Program Library, Queen’s University, Belfast, N. Ireland
Licensing provisions: GNU General Public License version 3
No. of lines in distributed program, including test data, etc.: 83617
No. of bytes in distributed program, including test data, etc.: 1038160
Distribution format: tar.gz
Programming language: C++.
Computer: Tested on several PCs and on Mac.
Operating system: Linux, Mac OS X, Windows (native and cygwin).
RAM: It is dependent on the input data but usually between 1 and 10 MB.
Classification: 2.5, 21.1.
External routines: XrayLib (https://github.com/tschoonj/xraylib/wiki)
Nature of problem:
Simulation of a wide range of X-ray imaging and spectroscopy experiments using different types of sources and detectors.
Solution method:
XRMC is a versatile program that is useful for the simulation of a wide range of X-ray imaging and spectroscopy experiments. It enables the simulation of monochromatic and polychromatic X-ray sources, with unpolarised or partially/completely polarised radiation. Single-element detectors as well as two-dimensional pixel detectors can be used in the simulations, with several acquisition options. In the current version of the program, the sample is modelled by combining convex three-dimensional objects demarcated by quadric surfaces, such as planes, ellipsoids and cylinders. The Monte Carlo approach makes XRMC able to accurately simulate X-ray photon transport and interactions with matter up to any order of interaction. The differential cross-sections and all other quantities related to the interaction processes (photoelectric absorption, fluorescence emission, elastic and inelastic scattering) are computed using the xraylib software library, which is currently the most complete and up-to-date software library for X-ray parameters. The use of variance reduction techniques makes XRMC able to reduce the simulation time by several orders of magnitude compared to other general-purpose Monte Carlo simulation programs.
Running time:
It is dependent on the complexity of the simulation. For the examples distributed with the code, it ranges from less than 1 s to a few minutes.
Item Type: | Article |
---|---|
DOI/Identification number: | 10.1016/j.cpc.2013.10.034 |
Additional information: | cited By 29 |
Uncontrolled keywords: | X-ray imaging; X-ray spectroscopy; Monte Carlo simulation |
Subjects: | Q Science > QA Mathematics (inc Computing science) > QA 75 Electronic computers. Computer science |
Divisions: | Divisions > Division of Computing, Engineering and Mathematical Sciences > School of Computing |
Depositing User: | Amy Boaler |
Date Deposited: | 08 Nov 2021 11:34 UTC |
Last Modified: | 05 Nov 2024 12:57 UTC |
Resource URI: | https://kar.kent.ac.uk/id/eprint/91415 (The current URI for this page, for reference purposes) |
- Export to:
- RefWorks
- EPrints3 XML
- BibTeX
- CSV
- Depositors only (login required):