fastar.imf.named_imf.single_power_law#
Single Power Law (honoring Salpeter’s visionary work https://ui.adsabs.harvard.edu/abs/1955ApJ…121..161S)
Functions
|
Wrapper for the Salpeter IMF using a parameter dictionary. |
|
Returns the normalized Salpeter IMF evaluated at mass over the range [m_min, m_max], fully JAX-compatible with numerical normalization. |
- fastar.imf.named_imf.single_power_law.single_power_law(mass, params)[source]#
Wrapper for the Salpeter IMF using a parameter dictionary.
- fastar.imf.named_imf.single_power_law.single_power_law_raw(mass, m_min=0.1, m_max=100.0, alpha=2.35)[source]#
Returns the normalized Salpeter IMF evaluated at mass over the range [m_min, m_max], fully JAX-compatible with numerical normalization.
- Parameters:
- Returns:
Normalized IMF values for the input mass(es).
- Return type:
jnp.ndarray or float