21cmfast / 21cmFAST

Official repository for 21cmFAST: a code for generating fast simulations of the cosmological 21cm signal
MIT License
58 stars 37 forks source link

Fixing bugs in HaloBox.c #422

Closed daviesje closed 2 weeks ago

daviesje commented 2 weeks ago

This fixes a few bugs in the lognormal galaxy distributions which erroneously reduced the amount of scatter. I've also added the Mo & White 1996 conversion between Eulerian and Lagrangian density to use with the below-resolution halos and fixed grids. I find this produces better results near delta=-1 and delta=delta_crit.