synthpop.modules.initial_mass_function.chabrier =============================================== .. py:module:: synthpop.modules.initial_mass_function.chabrier .. autoapi-nested-parse:: Initial mass function from Chabrier (2003): For m< m_switch: xi = A/m/ln(10) * exp(- (lg(m) - lg(m_center))**2 / (2*sigma**2)) For m>=m_switch xi = A * m**(-alpha) Classes ------- .. autoapisummary:: synthpop.modules.initial_mass_function.chabrier.Chabrier Module Contents --------------- .. py:class:: Chabrier(min_mass: float = None, max_mass: float = None, m_center=0.079, A_less=0.158, sigma=0.69, m_switch=1, alpha=2.3, **kwargs) Bases: :py:obj:`synthpop.modules.initial_mass_function._initial_mass_function.InitialMassFunction` The initial mass function (IMF) from Chabrier 2003 .. py:attribute:: imf_name :value: 'Chabrier' .. py:attribute:: A_less :value: 0.158 .. py:attribute:: center .. py:attribute:: sigma :value: 0.69 .. py:attribute:: m_switch :value: 1 .. py:attribute:: x :value: 1.2999999999999998 .. py:attribute:: A_higher .. py:attribute:: F_m_switch .. py:method:: gaussian_integral(m_in) .. py:method:: inverted_gaussian_integral(prop) .. py:method:: imf(m_in) initial mass function .. py:method:: F_imf(m_in) integral of the imf .. py:method:: F_imf_inverse(p_in) inverse of F_imf .. py:attribute:: grid_max :value: 10000 .. py:attribute:: grid_min :value: 0.001