The equilibrium model is an analytic formalism to describe the evolution of a set of baryonic galaxy properties, specifically the star formation rate, gas fraction and metallicity (Finlator & Davé, 2008; Davé et al., 2012). After the incorporation of related work in Asplund et al. (2009), Chabrier (2003) and Moews et al. (2020), this code now provides a Python implementation of the formalism. In addition, the relationship between cosmological age and redshift is splined outside the primary loop to avoid computing the redshift for each separate iteration.
If you want to start quickly, 'equilibrium' only NEEDS four inputs:
- The final redshift to which the galaxy is evolved
- The initial halo mass as an exponential of base 10
- The hubble constant that is to be used by the code
- The matter density parameter (commonly as Omega_m)
In addition, there are two optional parameters that can be set:
- The exponent used for calculating the ejective feedback parameter 'eta' in the function 'eta_function()'
- The exponent used for calculating the gas fraction in 'gas_frac()'
An example with the four required parameters would look like this:
from pyquilibrium import equilibrium_model
output = equilibrium_model(final_redshift = 0.0,
halo_mass = 8.2,
hubble_const = 70.0,
omega_matter = 0.3)
- Python 3.4.5
- NumPy 1.11.3
- SciPy 0.18.1
- Astropy 1.3