TwoPhaseGalaxyModel - a Two-Phase Scenario of Galaxy Formation
This repository contains the code of the semi-analytic implementation of the TwoPhaseGalaxyModel. All data and figures in the publications are also included in the repository.
Installation
To install, run:
pip install two-phase-galaxy-model
All the dependencies will be installed automatically. Alternatively, you can clone the repository and install the package locally via pip install -e /path/to/the/repo.
Usage
To use the API in your Python project, import the package by:
import two_phase_galaxy_model as tpgm
and then work with it.
Examples can be found in the Jupyter notebooks under docs/:
- star_cluster_model.ipynb: demonstrates how to define a dark-matter-only subhalo merger tree, pass it to the model, and get the list of galaxies and star clusters.
Publications
List of publications
- (Paper-I) A two-phase model of galaxy formation: I. The growth of galaxies and supermassive black holes. Houjun Mo, Yangyao Chen, and Huiyuan Wang, 2023 (arxiv, ads).
- (Paper-II) A two-phase model of galaxy formation: II. The size-mass relation of dynamically hot galaxies. Yangyao Chen, Houjun Mo, and Huiyuan Wang, 2023 (arxiv, ads).
- (Paper-III) A two-phase model of galaxy formation: III. The formation of globular clusters. Yangyao Chen, Houjun Mo, and Huiyuan Wang, 2024 (arxiv, ads).
Supplementary Material
- Paper-I: figures in the pdf format.
- Paper-II: figures in the pdf format.
- Paper-III: figures in the pdf format.
Research Highlights
Acknowledgements
Here we acknowledge the following projects and/or people that helped in the development of this code repository. Projects and/or people that are relevant to individual papers were included in the papers.
Yangyao thanks Kai Wang for his enduring companionship and support :wink:.
The empirical model UniverseMachine for halo-galaxy connection, and TRINITY for halo-galaxy-SMBH coevolution, have inspired our work for model design and implementation. Their comprehensive collection of observational datasets also helps us for model calibration and comparison.
The SAM of Yingtian Chen, Oleg Y. Gnedin et al. (source code) and the catalog produced by the model have been used for comparison of our model.
The Tsinghua Astrophysics High-Performance Computing platform has been providing the computational and data storage resources throughout the career development of Yangyao.
Metadata
Release files for two-phase-galaxy-model 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| two_phase_galaxy_model-1.0.0.tar.gz | 28.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| two_phase_galaxy_model-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 58.2 kB
Release files / two_phase_galaxy_model-1.0.0.tar.gz
| Download URL | two_phase_galaxy_model-1.0.0.tar.gz |
|---|---|
| Size | 28.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
084e8fef680139efdd6afc74bb6674ac9dd2fa29f505d81c688d3e64a154aee7
|
|
BLAKE2b-256 checksum How to use checksums |
656b99e119a6ad3d9f2144f8e0e818ff2a60fb669e5307aa4cf7ba544cb368a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.9
|
Release files / two_phase_galaxy_model-1.0.0-py3-none-any.whl
| Download URL | two_phase_galaxy_model-1.0.0-py3-none-any.whl |
|---|---|
| Size | 30.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8358ad2ee13693f36e48ee6bc2d58cf9a33a785e41e2d45a22d5a0e80077d8c2
|
|
BLAKE2b-256 checksum How to use checksums |
dafb87fef4ec8b9327d06c786f305b27ee96d96a3ce0904f94aa70be3637a7b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.9
|