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:
Halo mass function:
Cumulative halo mass function:
Redshift evolution above some mass cut: