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.
| Snapshot | Redshift | Central galaxies |
|---|---|---|
| 014 | 13.00 | 500 |
| 022 | 10.98 | 513 |
| 027 | 10.04 | 1,521 |
| 034 | 9.01 | 2,691 |
| 043 | 7.96 | 6,036 |
| 054 | 7.02 | 11,270 |
| 060 | 6.58 | 13,215 |
| 070 | 5.98 | 22,169 |
| 080 | 5.51 | 16,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.
| Field | Meaning |
|---|---|
GroupIDs, SubhaloIDs | FoF group and central subhalo numbers, one pair per object row. |
TauIGMs | Optical depth. Shape (galaxies, 768, 801). |
R_IGM_cMpc | Comoving 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_cMpc | Distance 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_V | Density-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
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.
Related Files in tau/
| Directory | Contents |
|---|---|
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.