Ionizing Escape Fractions

postprocessing/ion/ion_NNN.hdf5

THESAN-1 has one file for each snapshot from 000 through 080. The separate global.hdf5 file contains redshift histories of photon production, escape, and escape fraction.

File Reference

For all snapshots we produce ionizing escape fraction catalogs directly mirroring the SUBFIND subhalo catalogs. These post-processing files provide supplemental data for each subhalo with at least one star particle and four gas cells within the virial radius, corresponding to identifications of dark matter halos. There is a single HDF5 file for each snapshot named ion_[file].hdf5 containing simulation attributes and subhalo datasets. Full details are given in Section 2 of Yeh et al. (2023).

We calculate the radius R200R_\mathrm{200} at which the average density reaches 200 times the density of the universe, and adopt this same definition for the halo mass MhaloM_\mathrm{halo}, stellar mass MstarsM_\mathrm{stars}, instantaneous star-formation rate (SFR), and other quantities. This ensures a consistent accounting of properties contributing to the escape fraction, which we define as the ratio between the number of ionizing photons that escape and are intrinsically emitted from all sources within the virial radius, i.e. fesc≡N˙escN˙int. The escape fractions for star particles outside the virial radius of any halo are assumed to be maximal (i.e. the birth cloud value fesccloudf_\mathrm{esc}^\mathrm{cloud}) as these directly contribute to reionizing the IGM. The intrinsic photon rate for each subhalo (including stars outside R200R_{200}) is provided in the Lyα emission catalog (Subhalo_NoSFR HDF5 group) described in Smith et al. (2022a), which is calculated from the Binary Population and Spectral Synthesis models (BPASS; Eldridge et al. 2017) with a Chabrier initial mass function (IMF; Chabrier 2003). Passive Monte Carlo radiative transfer (MCRT) calculations were performed with the Cosmic Lyα Transfer (colt) code, with the details of the photo-ionization physics and MCRT implementation most recently described in Smith et al. (2022b).

The simulation used BPASS v2.1, as clarified in the published correction. The ionizing photon production efficiency relates the intrinsic photon rate to the UV luminosity.

Paired half-violins show the distribution of ionizing photon production efficiency using intrinsic and attenuated UV light at redshifts 6 through 10.
At each redshift the left half shows the distribution of ionizing photon production efficiency using intrinsic UV light. The right half uses the dust-attenuated UV luminosity. Both use the same intrinsic ionizing photon rate. Garaldi et al. (2024), Fig. 16 · CC BY 4.0
We now provide the full list of ionizing escape fraction quantities. The main simulation attributes are provided in the HDF5 file as:
Attributes
Attribute Dimensions Units Description
BoxSize 1 ckpc/h\text{ckpc} / h Spatial extent of the periodic box (in comoving units).
EscapeFraction 1 - Birth cloud escape fraction.
HubbleParam 1 100km/s/Mpc100\,\text{km/s/Mpc} Hubble constant (little hh in standard units).
Ngroups_Total 1 - Total number of FoF groups in the entire catalog.
Nsubgroups_Total 1 - Number of SUBFIND subgroups in the entire catalog.
Omega0 1 - The cosmological density parameter for matter.
OmegaBaryon 1 - The cosmological density parameter for baryonic matter.
OmegaLambda 1 - The cosmological density parameter for the cosmological constant.
Redshift 1 - The redshift corresponding to the current output.
Time 1 - The scale factor a=1/(1+z)a=1/(1+z) corresponding to the current output.
UnitLength_in_cm 1 - Code length units in cm.
UnitMass_in_g 1 - Code mass units in g.
UnitVelocity_in_cm_per_s 1 - Code velocity units in cm/s.
Subhalo properties are saved as HDF5 datasets:
Datasets
Attribute Dimensions Units Description
L_int N erg/s\text{erg/s} Total luminosity of stars within R200R_{200}.
M_200 N M⊙\text{M}_{\odot} Halo mass within R200R_{200}.
M_gas N M⊙\text{M}_{\odot} Gas mass within R200R_{200}.
M_stars N M⊙\text{M}_{\odot} Stellar mass within R200R_{200}.
Ndot_int N photons/s\text{photons/s} Total intrinsic photon rate of stars within R200R_{200}.
R_200 N kpc\text{kpc} Radius of the halo at which its density reaches 200 times the critical density.
SFR_200 N M⊙/yr\text{M}_{\odot} / \text{yr} Sum of the instantaneous star-formation rates in gas cells within R200R_{200}.
bin_L_int N × 3 erg/s\text{erg/s} Total luminosity of stars within R200R_{200}, divided into three frequency bins (HI,HeI,HeII)(\mathrm{HI, HeI, HeII}) with energy edges at (13.6,24.59,54.42,∞)eV(13.6, 24.59, 54.42, \infty)\,\text{eV}.
bin_Ndot_int N × 3 photons/s\text{photons/s} Total intrinsic photon rate of stars within R200R_{200}, divided into three frequency bins as above.
bin_f_esc N × 3 - Halo escape fraction within R200R_{200}, divided into three frequency bins as above.
f_HeI N - HeI absorption fraction within R200R_{200}.
f_HeII N - HeII absorption fraction within R200R_{200}.
f_esc N - Halo escape fraction within R200R_{200}.
l_abs N cm\text{cm} Absorption distance: ⟨ℓ⟩≡ℓ−1∫0ℓℓ′e−kaℓ′dℓ′\langle \ell \rangle \equiv \ell^{-1} \int_0^\ell \ell' e^{-k_\text{a} \ell'} \text{d}\ell'.
subhalo_id N - Subhalo ID in the SUBFIND subhalo catalog.

Note: NN denotes the number of selected halos. The helium absorption fraction is simply the sum fHe=fHeI+fHeIIf_\mathrm{He} = f_\mathrm{HeI} + f_\mathrm{HeII} and the hydrogen absorption fraction can be calculated as fH=fesccloud−fesc−fHe−fabsf_\mathrm{H} = f_\mathrm{esc}^\mathrm{cloud} - f_\mathrm{esc} - f_\mathrm{He} - f_\mathrm{abs}.

Read the escape fraction of one halo

Paths in this example are relative to Thesan-1/postprocessing/.

import h5py
import numpy as np

with h5py.File("ion/ion_080.hdf5") as f:
    row = int(np.flatnonzero(f["subhalo_id"][:] == 0)[0])
    print("escape fraction:", f"{f['f_esc'][row]:.5g}")
    print("three energy bins:", f["bin_f_esc"][row])
Output from THESAN-1
escape fraction: 0.12749
three energy bins: [0.12653327 0.13162208 0.02314637]