Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turnover Mass Differences in the Halo Model #369

Open
daviesje opened this issue Mar 28, 2024 · 0 comments
Open

Turnover Mass Differences in the Halo Model #369

daviesje opened this issue Mar 28, 2024 · 0 comments
Assignees
Labels
context: C backend Changes occur predominantly in the C code context: v4-prep This issue regards changes to the v4-prep branch type: feature: accuracy New code that improves overall accuracy/concistency

Comments

@daviesje
Copy link
Contributor

There are a number of differences in how the feedback models which consists of exponential damping below a lower turnover mass, is implemented in the halo based source model versus the grid based (default) source model.

In the density grid based (default) model it is implemented as follows:

  • In each cell, the turnover mass scale is calculated depending on a value from previous snapshot (Ionisation rate Gamma_12 for reionization feedback, or specific intensity J_21_LW for Lyman-Werner feedback).
  • These turnover masses are filtered on the same scale as the density grids to smooth them (note that this means we use the previous snapshots specific intensity for all redshifts in the spin temperature model.
  • For the mean fixing, which corrects mostly for the differences between the conditional mass function (Extended Press-Schechter) used to get the cell emissivities and the unconditional mass function specified by the user, the volume-weighted mean of the logarithm of the turnover mass over the whole box is used to calculate the global emissivity or SFRD
  • In the case of ionising emissivity, we smooth over rapid changes in turnover mass by performing a trapezoidal integration (See Yuxiang's paper https://arxiv.org/pdf/2003.04442.pdf footnote 10 page 6)

In the halo-based model, only the first step is analogous:

  • Each halo receives the turnover mass based on the properties of its cell, as in the grid model
  • We do not filter the turnover masses, rather each halo's stellar mass and ionising emissivity is affected by the turnover mass. The gridded halo populations are filtered after the feedback is taken into account. Since we interpolate over each HaloBox to get XraySourceBox. The feedback on each halo is always determined by the radiation fields one snapshot beforehand.
  • Mean fixing is not implemented with the halo model, This could be done at the gridded halo level, but you would lose self-consistency as your halo population would no longer match the emissivities (see Alternative Conditional Mass Functions #370).
  • The trapezoidal integration (smoothing over turnover mass) is also not implemented. I can't think of a good way to implement this without storing the progeniture of each halo which would be very costly.

These differences need to be further evaluated in order to determine if they are acceptable or should be remedied.

@daviesje daviesje added context: C backend Changes occur predominantly in the C code context: v4-prep This issue regards changes to the v4-prep branch type: feature: accuracy New code that improves overall accuracy/concistency labels Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
context: C backend Changes occur predominantly in the C code context: v4-prep This issue regards changes to the v4-prep branch type: feature: accuracy New code that improves overall accuracy/concistency
Projects
Status: Backlog
Development

No branches or pull requests

2 participants