⚠️ This repository is no longer maintained.
The project has moved to: https://github.com/kaidhoffmann/genIAL
genIAL is a python code that generates intrinsic alignment (IA) of galaxies in cosmological simulations, based on the galaxies' photometric properties as well as the orientation and angular momentum of their dark matter host halos.
The modeling is done in three steps:
- assigning 3D galaxy shapes
- assigning 3D galaxy orientations
- compute the observed 2D shapes and orientations
The code is fully vectorized, allowing it to be run on large datasets using the Apache Spark framework.
Details about the IA model are described in Hoffmann et al. 2022. Please cite this paper when using the code for your research.
-
step-by-step tutorial, showing how to run genIAL on an input file from a cosmological simulation:
https://colab.research.google.com/drive/1NUVA05EiyoGfrNyxVAS_2bZSOPVq5ngZ?usp=sharing
-
running genIAL in a pipeline for different model settings and computing IA two-point statistics for each setting
https://colab.research.google.com/drive/1C7pUOO8q5cNGpTBPMTzKLwE8InYLix3R?usp=sharing
-
model galaxy 2D shapes for random 3D galaxy orientations
https://colab.research.google.com/drive/1SN-X30pE6kW7NL_1yAE6s1NKcbfBVyCG?usp=sharing
Kai Hoffmann: kai (dot) d (dot) hoffmann (at) gmail (dot) com
