fastar.imf.named_imf.bimodal#
Bimodal IMF shape as defined in Vazdekis et al. 1996 https://ui.adsabs.harvard.edu/abs/1996ApJS..106..307V
This shapes aims to generalize a Kroupa-like IMF, with two segments connected through a smooth spline.
The version coded in FASTAR generalizes the bimodal IMF with the possibility of a variable low-mass end slope.
Functions
|
Wrapper for the bimodal IMF using a parameter dictionary. |
|
Returns the normalized bimodal IMF evaluated at mass, with the low-mass end scaling as M^{-beta_B} and the high-mass as M^{-alpha_B}. |
- fastar.imf.named_imf.bimodal.bimodal(mass, params)[source]#
Wrapper for the bimodal IMF using a parameter dictionary.
- fastar.imf.named_imf.bimodal.bimodal_raw(mass, m_min=0.1, m_max=100.0, alpha_B=2.3, beta_B=1.0, bicl=0.2, bicp=0.4, bich=0.6)[source]#
Returns the normalized bimodal IMF evaluated at mass, with the low-mass end scaling as M^{-beta_B} and the high-mass as M^{-alpha_B}.
- Parameters:
mass (array-like) – Stellar mass or array of masses.
m_min (float, optional) – Lower mass limit. Default is 0.1.
m_max (float, optional) – Upper mass limit. Default is 100.0.
alpha_B (float, optional) – High-mass end slope (Milky Way-like = 2.3)
beta_B (float, optional) – Low-mass end slope (Milky Way-like = 1.0)
bicl (float, optional) – End of the low-mass end regime. Default is 0.2
bicp (float, optional) – Turning point. Default is 0.4
bich (float, optional) – End of the high-mass end regime. Default is 0.6
- Returns:
Normalized IMF values.
- Return type:
jnp.ndarray or float