21cmfast / 21cmFAST

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

Fix parameter defaults #402

Closed daviesje closed 2 weeks ago

daviesje commented 2 weeks ago

The last default change was not quite correct, FIXED_HALO_GRIDS should be false by default, and HII_FILTER should be 0 (real-space tophat).

However, this exposed a previously existing bug where sometimes if this flag was on, the program tried to load an object which doesn't exist. This structure has been cleaned up a bit to make it clearer when to load the halofield objects.