def __init__(self, R=None, T=None, L=None):
        r""" Calculate stellar luminosity

        .. math::
            L_\star = 4\pi R^2_\star \sigma T^4_\star

        Where :math:`L_\star` is the Stellar luminosity, :math:`R_\star` stellar
        radius, :math:`\sigma` Stefan-Boltzman constant, :math:`T_\star` the
        temperature of the star

        :param R: stellar radius
        :param T: effective surface temperature of the star
        :param L: Stellar luminosity
        """

        _ExoDataEqn.__init__(self)

        self._L = L
        self._R = R
        self._T = T

        self.vars = ('R', 'T', 'L')  # list of input variables

        if (R, T, L).count(None) > 1:
            raise EqnInputError("You must give all parameters bar one")
def __init__ ( self , R = None , T = None , L = None ) : _ExoDataEqn . __init__ ( self ) self . _L = L self . _R = R self . _T = T self . vars = ( 'R' , 'T' , 'L' ) if ( R , T , L ) . count ( None ) > 1 : raise EqnInputError ( "You must give all parameters bar one" )
r""" Calculate stellar luminosity

        .. math::
            L_\star = 4\pi R^2_\star \sigma T^4_\star

        Where :math:`L_\star` is the Stellar luminosity, :math:`R_\star` stellar
        radius, :math:`\sigma` Stefan-Boltzman constant, :math:`T_\star` the
        temperature of the star

        :param R: stellar radius
        :param T: effective surface temperature of the star
        :param L: Stellar luminosity