def beta_to_kelvin(beta):
    """
    Convert :math:`\\beta` to Kelvin.

    Parameters
    ----------
    beta: float
        Inversion temperature.

    Returns
    -------
    T: float
        Temperature (K).
    """
    kb = 8.6173303e-05
    ev = 1.0 / float(beta)
    T = ev / kb
    return T
