Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Thermal X-ray Emission near AGN particles

In this notebook, we will use OpenCosmo in coordination with yt and pyxsim to compute X-ray luminosity in different bands for gas around AGN particles, considering thermal emission. The overall strategy for this calculation is:

  1. Use the OpenCosmo Toolkit to associate particle data with halos and identify the positions of AGN particles

  2. Use yt/pyxsim to draw a sphere around each AGN particle and compute the total x-ray luminosity for gas particles in three separate bands

  3. Repeat step 2 for a number of halos, and compute x-ray hardness ratio for each sphere

We will also investigate how x-ray luminosities/hardness ratios are related to whether a given AGN particle is emitting thermal vs. mechanical (kinetic) feedback.

Data Halo Properties Halo Particles
Tasks Evaluate Spatial Operations Visualization

We will consider three energy ranges, corresponding to soft emission (0.5-1.2 keV), hard emission (2.0-7.0 keV), and bolometric (0.5-7.0 keV).

Set up derived fields for yt datasets. The decorator @yt.derived_field tells yt to compute and store the field defined by the subsequent function any time a yt dataset is created.

The following quantities will be computed for each AGN particle:

  1. Eddington accretion rate

  2. The ratio between the Bondi-Hoyle accretion rate and the Eddington accretion rate: χ≡M˙Bondi−HoyleM˙Eddington\chi\equiv\frac{\dot{M}_\mathrm{Bondi-Hoyle}}{\dot{M}_\mathrm{Eddington}}

  3. Threshold value of χ\chi for determining if the AGN particle is set to emit thermal or mechanical (kinetic) feedback.

Now, we will loop through all halos and convert the particle data to a yt dataset. We will use yt to select a 50 kpc sphere around each AGN particle and compute the total thermal x-ray luminosity within the sphere.

Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

Now that we have our array of luminosities, we can compute distributions of LsoftL_\mathrm{soft}, LhardL_\mathrm{hard}, and LhardLsoft\frac{L_\mathrm{hard}}{L_\mathrm{soft}} as functions of MM, χ\chi, and χthresh\chi_\mathrm{thresh}.

<Figure size 1000x1000 with 9 Axes>

The above figure shows Lx,softL_{x,\mathrm{soft}} (left column), Lx,hardL_{x,\mathrm{hard}} (middle column), and Lx,hardLx,soft\frac{L_{x,\mathrm{hard}}}{L_{x,\mathrm{soft}}} (right column) plotted versus three variables: black hole mass MBHM_\mathrm{BH} (top row), χ\chi (middle row), and χχthresh\frac{\chi}{\chi_\mathrm{thresh}} (bottom row). The vertical dashed line in the bottom row shows χχthresh=1\frac{\chi}{\chi_\mathrm{thresh}}=1, which separates AGN that are currently in thermal feedback mode (χ<χthresh\chi<\chi_\mathrm{thresh}) versus kinetic feedback mode (χ≥χthresh\chi\geq\chi_\mathrm{thresh}). For more details, see Section 2.7 of the CRK-HACC subgrid methods paper.

Now, let’s plot hardness ratio as a function of bolometric x-ray luminosity:

<Figure size 640x480 with 1 Axes>