Inconsistencies Between Halo Scaling Relations and Integral Scaling Relations #432
Labels
context: C backend
Changes occur predominantly in the C code
context: v4-prep
This issue regards changes to the v4-prep branch
status: requires discussion
Issue requiring some time to process and discuss
type: feature: physical
New physical feature to be included
The halo sampler introduced some new scaling relations, which change the way X-ray and stellar mass behave as a function of halo mass:
These new scaling relations were not applied to the previous model which integrates over the conditional mass function, which would be okay if we didn't use these integrals to determine a few things even when the halo sampler is used:
TauX
) still uses the global neutral fraction, obtained from integralsFIXED_HALO_GRID=True
all source fields are taken on the cell-scale using these integrals.These factors lead to small inconsistencies within the model we would like to get rid of. Applying the high-mass stellar turnover in the integrals is simple enough, although it will slow down interpolation table construction due to 2 extra
pow()
calls in each integrand, which could matter for some minihalo runs (needs testing). On the other hand, using a non-constant L_X / SFR means that we can no longer combine the x-ray source grid with the lyman alpha and lyman werner source grids inSpinTemperature.c
, this would at most double memory usage in runs without minihalos (including one more R X HII_TOT_NUM_PIXELS grid), and double the time spent on filtering the grids, so we should be careful here (about a third of the spintemp calculation and 3% of the whole run).The text was updated successfully, but these errors were encountered: