To achieve realistic predictions of the clustering of galaxies, we need numerical simulations that match observations. Due to computational limitations, for large volumes is necessary to populate dark matter simulations with galactic populations a posteriori, using models that assume relationships between the halo mass and the galactic populations. However, only using the halo mass does not capture the entirety of the galactic populations' complexity. The galaxy assembly bias refers to the dependence of galaxy clustering on factors beyond the mass of the host halo, such as halo concentration or spin, which capture around
This repository contains all the code of the Master's Thesis of Sergio García Moreno for the Master's Degree in Astrophysics of the Universidad Complutense de Madrid (UCM), supervised by Dr. Jonás Chaves-Montero, from the Institut de Física d'Altes Energies (IFAE) in Barcelona. This work has been developed during the academic year 2023-2024. It is composed of several files with determined porpouses and execution order. The main.py
file is the first to be executed, calling the rest of files when needed, being followed by the execution of the recalc_2pcf.py
file to calculate the 2PCF of the mass bins.
After all the calculations from the .py
scripts have been completed, the execution of the two Jupyter Notebooks is necessary to obtain the final results. The AB_fit.ipynb
file calculates the fits of the 2PCF ratios and computes the GAB values associated with each property. Outputs two .csv
files with the results tables and the plots of the 2PCF ratios. The Mass_bins_illustration.ipynb
notebook computes the median halo mass of each mass bin, creates the galaxy histogram of stellar mass and the corner plot with the properties.
This thesis is available in PDF in the following link:
TO_BE_INCLUDED
This code makes use of the following packages:
numpy
pandas
scipy
matplotlib
scienceplots
(requieres a Latex installation, optional for the jupyter notebooks)Corrfunc
(2PCF calculation)tqdm
(progress bars)