Path: blob/main/Group exercises/Group Exercise 5.ipynb
968 views
Dark Matter and Stellar Mass functions -- The Role of Feedback in Galaxy Formation
Dark Matter has yet to be detected, but it plays a crucial role in theoretical models of structure formation. According to the current understanding of cosmological structure formation, gravity amplifies the primordial density fluctuations, allowing small over-densities to overcome cosmological expansion and collapse into dark matter halos. Gas flows into these halos, cools radiatively, and forms stars and galaxies. The efficiency with which matter is converted into stars in these haloes depends on a variety of baryonic processes like gas cooling, star and black hole formation and feedback. Over the past decade, significant efforts have been made to comprehend and model these various processes. In this exercise, we will compare the simulated halo mass function with the observed stellar mass function to empirically compute the star formation efficiency in dark matter haloes. The star formation efficiency derived from this data is a powerful tool that can help us perfect our models of structure formation.
We will focus on a crucial parameter called the Mass Function, which helps us understand how galaxies and dark matter haloes are distributed throughout the universe. The Mass Function is essentially a histogram that shows the mass distribution of galaxies/halos per unit volume. It is often expressed in terms of the log of the mass due to the vast range of masses encountered in the universe. By using the logarithmic scale, we can easily capture the significant differences in mass between objects while still keeping the expression manageable.
Part I:
Let's start by generating a plot of the halo mass function as predicted by the Thesan simulations (Kannan et al. 2022). This prediction is based on the assumption that the CDM cosmolgical model is correct and gravity dictates the large-scale distribution of matter in the universe. To create the plot, we will extract the masses of all the haloes from the simulation's HDF5 format output file (Thesan-Dark-HMF.hdf5).
To start with, run the following code to load the hdf5 dataset from the Thesan simulations.
Next, plot the mass function (, using Eq. 2) on the y-axis (in units of Mpc dex) as a function of the logarithm of the halo mass (M, in units of log(M)) on the x-axis. [Hint: The units of the halo mass and boxsize of the simulation are outlined as header attributes. Include legends and labels in all your plots and plot the y-axis on a log scale.]
Part II:
Let's assume that all the baryons in the universe are converted to stars. What would be the expected stellar mass function () in such a scenario? Use the cosmic baryon and matter density values derived from Planck satellite observations of the cosmic microwave backgroud (). [Hint: In order to make an accurate comparison, please replot the halo mass function (from Part I) and use the same units for the axes as in the previous plot.]
Part III:
We will now analyze how the observed stellar mass function () compares to the predicted halo mass function from simulations. First, run the following code to read in the observational data (GSMF_Baldry_2012.txt) from the Galaxies And Mass Assembly (GAMA) survey conducted using the 2.5 m wide-angle optical telescope at Apache Point Observatory in New Mexico, United States (Baldry et al. 2012).
Now, plot the stellar mass function as a function of the observed stellar mass (M). Compare it to the halo mass () and expected stellar mass functions.
Part IV:
We can now begin to get a correspondence between the stellar and halo masses by making a very simple assumption, namely, more massive galaxies reside in more massive haloes. This will give a one-to-one correspondence between galaxies and halos. In this approximation, galaxies and haloes with the same number density () correspond to each other. Plot the efficiency with which baryons are converted to stars inside halos (, on the y-axis) defined as the ratio between the observed stellar mass (from Baldry et al. 2012) and predicted halo mass (from Kannan et al. 2022) at the same number density (see Eq. 3) as a function of observed stellar mass (on the x-axis). Galaxies of what stellar mass are most efficient in converting baryons to stars? [Hint: You can use 1d interpolation to get an estimate of the observed stellar mass for all values of ParseError: KaTeX parse error: Got function '\rm' with no arguments as subscript at position 6: \phi_\̲r̲m̲{halo}.]
Part V:
The stellar mass of the Milky Way galaxy is observed to be around , what is the total halo mass of the MW?