Skip to content
Halo Mass Function in Python
Jupyter Notebook Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.rst moved license into code May 18, 2018
big_hist2_z.csv
big_z.csv
boundmatter.ipynb added usage example Nov 23, 2018
hmf.py
hmf_M.png
hmf_cumulative_M.png
hmf_cumulative_z.png added more plots May 18, 2018
hmf_z.png added more plots May 18, 2018
mid_hist2_z.csv
mid_z.csv initial commit May 18, 2018
small_count12_z.csv
small_hist2_z.csv initial commit May 18, 2018
small_hist_z.csv initial commit May 18, 2018
small_z.csv

README.rst

Halo Mass Function in Python

One would think that in 2018 there would be a python package that computes the halo mass function at an arbitrary redshift. Well, there isn't.

This is a stupid replacement that plots them from large N-body simulations using a lookup table.

See code for documentation and cite:

https://www.cosmosim.org/cms/simulations/smdpl/ https://www.cosmosim.org/cms/simulations/mdpl2/ https://www.cosmosim.org/cms/simulations/bigmdpl/

Example outputs

Halo mass function:

https://raw.githubusercontent.com/JohannesBuchner/hmf/master/hmf_M.png

Cumulative halo mass function:

https://raw.githubusercontent.com/JohannesBuchner/hmf/master/hmf_cumulative_M.png

Redshift evolution above some mass cut:

https://raw.githubusercontent.com/JohannesBuchner/hmf/master/hmf_cumulative_z.png

See also

You can’t perform that action at this time.