Beam colour = mean photon energy (blue low, red high)
mu_app across the phantom

X-ray Beam Hardening: Attenuation Profile Across a Water Phantom (2D)

Sweep a pencil X-ray beam across a water phantom and watch the spectrum harden: soft photons are absorbed first, the mean energy climbs, and the centre of the object appears less attenuating than the rim (the cupping artifact). Change tube voltage, aluminium filtration, phantom size and detector type, with a Blender-built tube, phantom and detector and built-in numerical checks of the polychromatic Beer-Lambert model.

Made with 🟠 Blender