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

Issues with halo sampler snapshot cadence #376

Open daviesje opened 3 months ago

daviesje commented 3 months ago

The current behvaiour using the halo sampler in both run_coeval and run_lightcone is to simply loop through each redshift in reverse order at the beginning to generate the halo populations. This has created some issues with the caching, recursive generation, and run_coeval.

It will be necessary to examine how the cadence of the halo sampler should relate to the cadence of the spin temperature / recombinations, as well as the user-defined redshifts in run_coeval.