Files follow postprocessing/age/age_NNN.hdf5. Read Header for the redshift and group counts. The production set spans 000–081. Match Group and Subhalo rows directly to the corresponding catalogs at the same snapshot.
Fields
| Field | Meaning |
|---|---|
age_Myr_mass | Mean stellar age in Myr, weighted by initial stellar mass. |
age_Myr_Qion | Mean age in Myr, weighted by the intrinsic hydrogen-ionizing photon production rate. A zero weight sum gives zero. |
SFR_10Myr, SFR_100Myr | Initial stellar mass formed within the preceding 10 or 100 Myr divided by that interval, in solar masses per year. Wind particles are excluded. |
TotQion | Group attribute giving the summed stellar ionizing photon production rate in photons/s. |
Compare the populations in subhalo 0
Paths in this example are relative to Thesan-1/postprocessing/.
import h5py
with h5py.File("age/age_080.hdf5") as f:
stars = f["Subhalo"]
for name in ("age_Myr_mass", "age_Myr_Qion", "SFR_10Myr", "SFR_100Myr"):
print(name, f"{stars[name][0]:.5g}")
Output from THESAN-1
age_Myr_mass 142.76 age_Myr_Qion 4.8562 SFR_10Myr 133.9 SFR_100Myr 121.25