Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.46 KB

README.md

File metadata and controls

36 lines (23 loc) · 1.46 KB

BAM: Baryonic Abundance Matching

BAM implements a subhalo abundance matching model based on Yao-Yuan Mao's implementation with Peter Behroozi's fiducial deconvolution via the Richardson-Lucy algorithm.

Assumes a constant lognormal scatter in the galaxy proxy conditioned on the halo proxy. See the following example notebook: ./tutorial/tutorial_SHAM.ipynb.

If you use or find helpful any of the code implemented inthis repository please cite [1].

Installation

The best code is the one that can be easily tinkered with. Therefore, a direct pip-installation from PyPI is not supported. Instead, I suggest to clone the repository into your favourite folder:

cd /path/to/your/favouritefolder
git clone [email protected]:Richard-Sti/BAM.git

Furthermore, if needed the the code can be locally installed via pip:

cd /path/to/your/favouritefolder/BAM
pip install .

If locally installed the code can then be imported as usual:

import BAM

References

[1] Richard Stiskalek; Harry Desmond; Thomas Holvey; and Michael G. Jones. "The dependence of subhalo abundance matching on galaxy photometry and selection criteria." Monthly Notices of the Royal Astronomical Society 506, no. 3 (2021): 3205-3223. arXiv:2101.02765

License

GPL-3.0