Fe XXV resonant scattering
Model the Fe XXV w line near 6.7 keV with AtomDB emission and ion fractions, then compare intrinsic and scattered radiation. This example uses TNG-Cluster target 0 at z = 0.
The intrinsic (optically thin) and scattered surface brightness maps show similar structure. The annular spectra reveal suppressed inner emission and redistribution of photons into the outskirts, reflected in the scattered-to-intrinsic ratio (S / I).
Run
You need access to the TNG-Cluster snapshot and halo catalogue: snapshot 99, chunks 0 and 352, and catalogue chunk 0. These are separate from the Getting Started galaxy cutout. Allow at least 64 GiB of RAM for this example; the configuration follows hundreds of millions of photons.
Follow the installation guide
to set up thor, then download and unpack the
AtomDB table from Prepare.
Download fexxv-w.yaml,
set gadget.path, gadget.catalog_path, and atomdb.table_path to your inputs.
For Apptainer, mount the snapshot directory
if it is outside your home or working directory:
Then run:
The model includes thermal broadening and gas bulk velocities. It follows only the w line, without continuum, neighboring lines, or an instrument response.
Outputs
The run saves intrinsic and scattered maps and aperture spectra. “Scattered” includes photons that reach the observer without scattering. Maps are stored in erg s⁻¹ cm⁻² arcsec⁻².
Download plot_fexxv.py and thorplot.py into your working directory, then run:
The output image fexxv.png compares the maps and spectra in
concentric annuli.
See reading and converting the outputs for photon surface brightness, photon-luminosity spectra, and annular spectra.

