https://github.com/tmcclintock/mass-function
https://github.com/tmcclintock/mass-function
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tmcclintock/mass-function
- Owner: tmcclintock
- Created: 2016-06-28T17:53:25.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-04-15T20:26:06.000Z (over 5 years ago)
- Last Synced: 2025-02-07T16:36:06.336Z (11 months ago)
- Language: Python
- Size: 107 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Mass-Function
=============
An implementation of the Tinker et al.
(http://adsabs.harvard.edu/abs/2008ApJ...688..709T)
2008 mass function for predictiing the number of dark matter halos
within some range of masses.
Dependencies
------------
- numpy
- scipy
- Matt Becker's cosmocalc (https://github.com/beckermr/cosmocalc)
- Tom McClintock's Emulation (https://github.com/tmcclintock/Emulation)
Installation
------------
To install simply write
```
python setup.py install
```
if you care about keeping the root directory clean then do
```
python setup.py clean
```
Usage
-----
An example of how to use this code can be found
in the examples/example.py file. The module can
either calculate dn/dM as a function of mass
or the number density per unit mass,
all as a function of redshift.
The result of running the example should be the following.
