halox.bias: Halo bias

Contents

halox.bias: Halo bias#

halox provides a JAX implementation of the Tinker10 halo mass function. Cosmology calculations (e.g. power spectra) rely on jax-cosmo. For examples, see Halo Bias.

tinker10_bias(M, z, cosmo[, delta_c, ...])

Tinker10 halo bias function.

halox.bias.tinker10_bias(M, z, cosmo, delta_c=200.0, delta_sc=1.686, n_k_int=5000, emu=None)[source]#

Tinker10 halo bias function.

Linear halo bias as calibrated by Tinker et al. 2010.

Parameters:
  • M (Array) – Halo mass [h-1 Msun]

  • z (Array) – Redshift

  • cosmo (jc.Cosmology) – Underlying cosmology

  • delta_c (float) – Overdensity threshold, default 200.0

  • delta_sc (float) – Spherical collapse threshold, default 1.686

  • n_k_int (int) – Number of k-space integration points for \(\sigma(R,z)\), default 5000

  • emu (SigmaMEmulator, optional) – Trained emulator for \(\sigma(M)\).

Returns:

Linear halo bias

Return type:

Array

See also

halox.emus.SigmaMEmulator

Emulator for \(\sigma(M,z)\).