MATLAB implementation of an analytical model for the emission of x rays from an x-ray tube

Published: 31 Jan 2020 | Version 2 | DOI: 10.17632/hjf5sctyt8.2

Description of this data

An analytical model for the energy and angular distribution of bremsstrahlung and characteristic x rays emitted from an x-ray tube is provided for tungsten and molybdenum targets. The model includes photon mass attenuation coefficients, CSDA ranges, NIST bremsstrahlung cross sections, and bremsstrahlung shape functions extracted from the PENELOPE [v. 2014] materials database. Also included are Monte Carlo-calculated (PENELOPE) electron penetration data, describing the depth, energy, and angular distribution of electrons in thick x-ray targets.

The emission of characteristic x rays is taken into account using a previously developed model, which includes Monte Carlo-calculated depth distributions of x-ray fluorescence:

Experiment data files

  • MATLAB files

    Individual MATLAB files can be downloaded from this folder.

    • Data
      • Electron penetration data
        • Z42
        • Z74
  • This file contains the complete set of files and physics data required to execute the x-ray model.

Steps to reproduce

The electron penetration data entering into the model was determined as follows. The Monte Carlo system PENELOPE [v. 2014] was used to simulate a pencil beam of monoenergetic electrons normally incident onto tungsten and molybdenum slabs. A modified version of the penEasy user code was used to tally the electron kinetic energy and polar angle at depths of {0, 0.005, ..., 0.100, 0.125, 0.150, ..., 0.500} times the electron CSDA range. The electron transport was simulated in detail with the parameter C1 (and C2) set equal to zero to treat the elastic scattering in detail (analogue technique). The electron and photon transport cut-off energies EABS(1-2) were set to 5 keV, and the energy transfer thresholds WCC and WCR were set to 1 keV. The generated Monte Carlo results were formulated as number and probability density functions using linear interpolation to express the continuous variables.

Latest version

  • Version 2


    Published: 2020-01-31

    DOI: 10.17632/hjf5sctyt8.2

    Cite this dataset

    Omar, Artur; Andreo, Pedro; Poludniowski, Gavin (2020), “MATLAB implementation of an analytical model for the emission of x rays from an x-ray tube”, Mendeley Data, v2


Views: 92
Downloads: 2

Previous versions

Compare to version


Karolinska Institutet Department of Oncology Pathology, Karolinska Universitetssjukhuset


Medical X-Ray Imaging, Monte Carlo Method, Analytical Modeling, Bremsstrahlung, Characteristic Radiation


MIT Learn more

The files associated with this dataset are licensed under a MIT License licence.

What does this mean?
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.