Lyα Transmission

Frequency-dependent transmission of Lyα photons through the gas surrounding central galaxies in THESAN-1.

Files and Galaxy Selection

Use postprocessing/tau/tau/tau_NNN.hdf5, where NNN is a three-digit snapshot number. Each row represents a central galaxy in a friends-of-friends group. Use GroupIDs or SubhaloIDs to identify it. These arrays refer to the group catalog at the same snapshot.

The initial Smith et al. (2022) sample includes centrals with at least 32 star particles and less well resolved centrals among the most massive 90 per cent. The paper studied seven redshifts between 6 and 13. The files also include snapshots 060 and 080. Use the ID arrays in each file to establish its selection.

Primary THESAN-1 transmission files
SnapshotRedshiftCentral galaxies
01413.00500
02210.98513
02710.041,521
0349.012,691
0437.966,036
0547.0211,270
0606.5813,215
0705.9822,169
0805.5116,003

Velocity and Viewing Direction

TauIGMs[i, j, k] gives the dimensionless Lyα optical depth for object row i, direction j, and velocity bin k. The 768 radial directions sample equal solid angles (HEALPix Nside = 8, RING order). The velocity grid runs from −2000 to +2000 km/s in steps of 5 km/s. Positive offsets are redward of line center in the galaxy’s systemic frame. Read Dv_min, Dv_max, and NumFreq from the root attributes.

The fiducial integration starts at one group virial radius (f_vir = 1, using R_Crit200). The rays use the intrinsic Lyα luminosity centroid and systemic velocity, and sample a path length corresponding to 4000 km/s of Hubble expansion at the snapshot redshift. The optical depth includes the peculiar velocity and thermal broadening of the intervening gas. Transmission along a single ray is T = exp(−τ). To obtain an angular mean transmission, average the individual transmissions.

FieldMeaning
GroupIDs, SubhaloIDsFoF group and central subhalo numbers, one pair per object row.
TauIGMsOptical depth. Shape (galaxies, 768, 801).
R_IGM_cMpcComoving distance from the galaxy to optical depth unity, by direction and velocity. The value reaches the ray endpoint when the optical depth stays below unity.
R_HII_cMpcDistance in cMpc to the first segment with a neutral hydrogen fraction above 0.9. The writer uses the last segment as the boundary if there is no earlier crossing.
x_HI_m, x_HI_VDensity-times-length and path-length weighted neutral fractions inside that boundary, respectively. Each array has one value per object and direction.

Read one transmission spectrum

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

import h5py
import numpy as np

with h5py.File("tau/tau/tau_054.hdf5") as f:
    rows = np.flatnonzero(f["GroupIDs"][:] == 0)
    assert len(rows) == 1
    row, ray = rows[0], 0
    dv = np.linspace(f.attrs["Dv_min"], f.attrs["Dv_max"], f.attrs["NumFreq"])
    optical_depth = f["TauIGMs"][row, ray, :].astype(float)
    transmission = np.exp(-optical_depth)
    i = np.flatnonzero(dv == 200)[0]
    print("subhalo:", f["SubhaloIDs"][row])
    print("transmission at +200 km/s:", f"{transmission[i]:.6g}")
Output from THESAN-1
subhalo: 0
transmission at +200 km/s: 5.49583e-06
Finite-ray transmission for FoF group 0, direction 0, at z = 7.02. The spectrum samples the red and blue sides of Lyα in the same velocity frame.
Finite-ray transmission for FoF group 0, direction 0, at z = 7.02. The spectrum samples the red and blue sides of Lyα in the same velocity frame. Spectrum (CSV)

The downloadable CSV contains the 801 velocity bins and finite-ray transmissions computed above.

Include the distant damping wing

The ray integration ends after 4000 km/s of Hubble flow. Smith et al. model absorption beyond that distance with a redshift-dependent damping wing. The same wing applies to all directions at a given snapshot. Starting from the single-ray example above, multiply the finite-ray transmission by the tabulated wing on the same velocity grid.

with h5py.File("tau/DW/DW_054.hdf5") as f:
    wing = f["T_IGM_DW_Lee"][:]
assert wing.shape == dv.shape
full_transmission = transmission * wing
print(f"{wing[i]:.6f}", f"{full_transmission[i]:.6g}")
Output at +200 km/s
0.946600 5.20236e-06

For FoF group 0 at snapshot 054, the mean over all 768 directions at +200 km/s is 0.321815 along the finite rays and 0.304630 including the distant gas. The latter matches T_IGM_avg in tau/stats/tau_054.hdf5. The stored summary already includes this wing.

Nine sky maps at redshifts 6, 7, and 8 show how transmitted Lyα flux varies with viewing direction and halo mass.
Lyα transmission at +200 km/s varies with viewing direction even for a single halo. Each column shows three halo masses at one redshift. These published maps use 3,072 directions per halo. The public spectra use 768. Smith et al. (2022), Fig. 18

Related Files in tau/

DirectoryContents
stats/Per-galaxy angular means and percentiles, including mean transmission, optical-depth percentiles, and velocity-band summaries. Read the stored band edges.
full_stats/Sample-level summaries, cut samples, and band statistics. The Dv files select specific velocity windows.
M1500_Dv/Transmission and counts binned by UV magnitude and velocity offset, stored in T_IGM and n_IGM.
centrals/ and Lya_centrals/Selected central-galaxy IDs and associated intrinsic Lyα properties.
rays/Ray geometry and cell-by-cell gas properties for individual FoF groups, including RayDirections.
healpix/Individual higher angular resolution calculations for selected groups. These files store TauIGM (singular).
DW/Distant damping-wing models. The statistical summaries use T_IGM_DW_Lee from DW_NNN.hdf5.

The LF, LF_bestfits, and emulator directories contain luminosity-function fits and model tests. For an individual galaxy spectrum use the primary tau file. For observed luminosities and line-integrated transmission, use the Neyer et al. Lyα emitter catalogs.