-
Notifications
You must be signed in to change notification settings - Fork 18
Tutorial: Generating galaxy merger trees
By "merger tree" we typically mean a merger tree of dark matter halos. However, we can also look at a galaxy merger tree. Since galaxies do not merge at the same time as their halos, the galaxy merger tree will be different from the associated halo merger tree.
To track and output galaxy merger trees requires adding a nodeOperator
and nodePropertyExtractor
:
<nodeOperator value="galaxyMergerTree">
<timeStep value="0.025"/>
<nodePropertyExtractor value="massStellar"/>
<nodePropertyExtractor value="massISM"/>
<nodePropertyExtractor value="massBasic"/>
<nodePropertyExtractor value="starFormationRate">
<component value="total"/>
</nodePropertyExtractor>
</nodeOperator>
This nodeOperator
records information needed to describe the merger tree of each galaxy. The timestep
determines how frequently the properties of each galaxy are sampled in the tree. The nodePropertyExtractor
s here determine which properties are recorded for each galaxy. (Currently any member of the nodePropertyExtractorScalar
class can be used here.)
<nodePropertyExtractor value="galaxyMergerTree"/>
This nodePropertyExtractor
causes the information recorded for the merger tree to be output to the output file.
As an example, you can generate a simple example by running this model:
./Galacticus.exe parameters/tutorials/galaxyMergerTree.xml
and then generate a plot of the tree from it using:
./scripts/analysis/galaxyMergerTree.py
which should look like this:
-
Tutorials
- Introduction to Galacticus parameter files
- Dark matter halo mass function
- Warm dark matter halo mass function
- Power spectra
- Warm dark matter power spectra
- Dark matter only merger trees
- Subsampling of merger tree branches
- Dark matter only subhalo evolution
- Solving the excursion set problem
- Reionization calculations
- Instantaneous & Non-instantaneous recycling
- Computing Broadband Stellar Luminosities
- Postprocessing of stellar spectra
- Using N-body Merger Trees
- Generating Mock Catalogs with Lightcones
- Constraining Galacticus parameters
- Generating galaxy merger trees
-
How Galacticus works
- Structure Formation Flowchart
- Merger Tree Building Flowchart
- How Galacticus Evolves Halos and Galaxies
- Galaxy Physics Flowchart
- CGM Cooling Physics Flowchart
- Star Formation Physics Flowchart
- Outflow Physics Flowchart
- Galactic Structure Flowchart
- CGM Physics Flowchart
- SMBH Physics Flowchart
- Subhalo Evolution Flowchart
-
Contributing
- Coding conventions
- Coding tutorials
-
Reference models
- Benchmarks and validation scores
- Validation plots and data