Remove/Improve Recursive Generation #363
Labels
API Breaking
A change that breaks backwards compatibility
context: python wrapper
Predominantly affecting the Python wrapper
context: v4-prep
This issue regards changes to the v4-prep branch
type: refactor
Code refactoring / restyling for internal benefit
The current behaviour when we use boxes that require another redshift is to recursively generate all required snapshots until we get to the desired redshift.
There are some transparency issues with this since it can be hard to keep track of what redshifts are required and which you have already generated. But more importantly the addition of the stochastic halo fields (which need to be generated in the reverse order) as well as the XraySourceBox (which requires input fields from multiple redshifts) complicates this picture, making it very difficult to perform with recursion.
Two possibilities to simplify the picture are:
run_coeval
/run_lightcone
or to explicitly generate all the required snapshots.The text was updated successfully, but these errors were encountered: