#import "helpers.typ": *
#import "importer/main.typ": *

#set heading(outlined: false, numbering: none)

= Appendix


== A - Halo mass function of #smallcaps[Thesan-Dark 1] and #smallcaps[Thesan-Dark 2]

#let notebook = json("../workdir/11_visualization/halo_mass_function_thesan_1_2.ipynb")

#figure(
  image_cell(notebook, cell_id: "halo_mass_functions"),
  caption: [
    The halo mass functions of the #thesandark 1 (blue) and #thesandark 2 (red) plotted at different redshifts. The error bars indicate the Poisson error in each mass bin.
  ]
) <fig:halo_mass_functions>

We compare the halo mass functions of the two dark-matter-only simulations #thesandark 1 and #thesandark 2. As shown in @fig:halo_mass_functions, the higher resolution of the former allows to resolve smaller halos more accurately. The two simulations only agree above a mass of about $5 dot 10^9 M_dot.circle$ and then yield the same halo mass function. This is consistent with our observations in the validation (@validation) of both simulations and poses a limitation on the minimum halo mass that can be resolved in #beorn when using merger trees from #thesandark 2.


== B - Generation of the cover image
The cover image of this report has been generated using #beorn. From a simulation run with a grid resolution of $512^3$ cells, a slice of the brightness temperature map has been extracted at $z = 8.07$. The slice shows an emission due to the spin temperature being higher than the CMB temperature. The first ionization bubbles appear as dark patches where the ionized hydrogen does not contribute to the 21-cm signal.
