Visualmerging: visual display of the merging process of galaxies beyond the merger tree in TNG50
Authors/Creators
Description
These codes are made for the paper "Visual display of the merging process of galaxies beyond the merger tree in TNG50"
Created by Zehao Zhong.
Paper Authors:
Zehao Zhong (zhongzehao@ucas.ac.cn),
Gang Zhao
The script visualmerging.ipynb is used to show our methodology and visualization process, and can help to reproduce the figures in our paper.
The details of these codes are showed in the Section. 3 of our paper.
If you would like to replot the figures in our paper, please use the corresponding TNG50 (Nelson et al. 2019; Pillepich et al. 2019) data and tables, and then run the program.
We also present three-dimensional projection evolution maps of stars and gas particlesof mock galaxies, 358609, 483594, and 534628 from snap 99 to snap 5.
And integrate them into MP4 videos using FFmpeg (https://ffmpeg.org/,version 8.1.2) as shown in the Zenodo.
But in this script, as an example, we only present the three-dimensional projection evolution maps of the mock galaxy 358609 from snap 99 to snap 90.
Note: Due to the large number of particles in the mock main and satellite galaxies, the sample data size is relatively large.
If you can access the data of TNG50, you don't need to download data related to subnum358609 and the folder snaptables.
You can just use this visualmerging.ipynb script to run the visualization process.
The script and the test data required are stored on Zenodo.
Due to Github's data space requirements, only the visualmerging.ipynb script are stored on it.
The license is Creative Commons Attribution 4.0 International (CC BY) and code is additionally available under the MIT License.
Please note that when running the program, please modify the corresponding path to your own path.