Estimation of cosmological parameter
The data used in this work can be retrieved from globus following the path:
Halos/FoF/latin_hypercube/selecting for each simulation number, the folder with redshift
groups_002The code runs on GPU. The one used for this work is a Tesla T4.
Libraries:
numpypytorchpytorch-geometricmatplotlibscipysklearnoptuna
-
clean_main.py: main driver to train and test the network -
clean_hyperparameters.py: definition of the hyperparameters employed by the networks -
clean_gridsearch.py: optimize the hyperparameters using optuna -
visualize_graphs.py: display graphs of DM halos from the simulations
The folder Source contains:
-
constants.py: basic constants and initialization -
load_data.py: routines to load data from simulation files -
plotting.py: functions for displaying the results from the training and test -
metalayer.py: definition of the Graph Neural Network architecture -
training.py: routines for training and testing the network
- Lorenzo Cavezza - Lorycav
- Giulia Doda - giuliadoda
- Giacomo Longaroni - GiacomoLongaroni
- Laura Ravagnani - LauraRavagnani
This work is based on:
[1] Villanueva-Domingo, Pablo, and Francisco Villaescusa-Navarro. "Learning cosmology and clustering with cosmic graphs." The Astrophysical Journal 937.2 (2022): 115.
[2] Makinen, T. Lucas, et al. "The cosmic graph: Optimal information extraction from large-scale structure using catalogues." arXiv preprint arXiv:2207.05202 (2022).
PabloVD, (2023). CosmoGraphNet: "Graph Neural Networks to predict the cosmological parameters or the galaxy power spectrum from galaxy catalogs". GitHub
