Photon Attenuation Calculation Details
This page explains the physics and mathematics behind the photon attenuation calculator. The mass interaction coefficients are obtained from the XCOM NIST database.
Definitions
Let \(\sigma_i\) (in cm2/g) be the mass interaction coefficient from XCOM for process \(i\), \(\rho\) (in g/cm3) the material density, and \(t\) (in cm) the slab thickness.
The calculator breaks interactions down into the following five core physical processes:
- Rayleigh Scattering (Coherent Scattering)
- Compton Scattering (Incoherent Scattering)
- Photoelectric Absorption
- Nuclear Field Pair Production
- Electron Field Pair Production
From Mass Cross Section to Linear Attenuation
First, we convert each mass cross section to a linear attenuation coefficient:
\[\mu_i = \sigma_i \cdot \rho\]
where \(\mu_i\) is the linear attenuation coefficient for process \(i\) (in cm-1).
Total Attenuation
The total linear attenuation coefficient is the sum over all processes:
\[\mu_\text{tot} = \sigma_\text{tot} \cdot \rho = \left( \sum_i \sigma_i \right) \cdot \rho\]
where \(\sigma_\text{tot}\) is the total mass attenuation coefficient.
Interaction Probabilities
The probability that a photon traverses the full slab without any interaction is:
\[P_\text{no interaction} = e^{-\mu_\text{tot} \, t}\]
The probability that a photon interacts at least once in the slab (i.e., is attenuated) is:
\[P_\text{interact} = 1 - e^{-\mu_\text{tot} \, t}\]
This is the attenuation displayed in the calculator. The transmission is simply \(P_\text{no interaction}\).
Process-Specific Absolute Probabilities
Since each process contributes independently and proportionally to \(\mu_\text{tot}\), the absolute probability that a photon entering the material will undergo a specific process \(i\) across the total material length is calculated by multiplying the relative fraction of the interaction by the total interaction probability:
\[P_i = \frac{\sigma_i}{\sigma_\text{tot}} \cdot \left(1 - e^{-\mu_\text{tot} \, t}\right)\]
For example, the absolute probability of Photoelectric Absorption is:
\[P_\text{photoelectric} = \frac{\sigma_\text{photoelectric}}{\sigma_\text{tot}} \cdot \left(1 - e^{-\mu_\text{tot} \, t}\right)\]
Because these represent absolute macroscopic probabilities across the slab thickness, the sum of all process-specific probabilities exactly equals the total attenuation probability.
Data Interpolation and Absorption Edges
The calculator evaluates coefficients for exact photon energies dynamically. However, since the NIST XCOM database contains discrete datapoints, values between these points must be interpolated. Because photon cross sections follow steep non-linear power laws across energy magnitudes, standard linear interpolation introduces severe physical errors.
Instead, the tool employs a Log-Log Linear Interpolation algorithm. For any target energy, it locates the two closest discrete energy points in the NIST database and performs a linear interpolation in log-log space. This choice matches the power-law scaling of photon cross sections across energy ranges and prevents the severe physical errors of simple linear interpolation.
To handle absorption edges (such as K-edges and L-edges), the NIST XCOM database contains pairs of points placed extremely close to each other at the discontinuity. The log-log interpolation natively handles these sharp transitions, ensuring accurate values immediately below and above the binding energy thresholds.
Compounds and Bragg's Additivity Rule
For molecular compounds and complex materials (e.g., Kapton, Water, Lanex), the calculator natively fuses atomic components using Bragg's Additivity Rule. The total mass attenuation coefficient for a compound is derived by summing the independent coefficients of its constituent elemental components, appropriately weighted by their proportional mass fractions (\(w_j\)):
\[\left(\frac{\mu}{\rho}\right)_{\text{compound}} = \sum_j w_j \left(\frac{\mu}{\rho}\right)_j\]
where the fractional weight \(w_j\) of element \(j\) in the molecule is defined by the number of atoms \(n_j\), the atomic mass \(A_j\), and the total molecular mass \(M_\text{total}\):
\[w_j = \frac{n_j \cdot A_j}{M_\text{total}}\]
Summary
- Attenuation: \(1 - e^{-\mu_\text{tot} t}\) — probability that the photon interacts at least once
- Transmission: \(e^{-\mu_\text{tot} t}\) — probability that the photon passes through without interaction
- Process probability: \(\frac{\sigma_i}{\sigma_\text{tot}} \cdot (1 - e^{-\mu_\text{tot} t})\) — probability that the interaction is specifically process \(i\)
