def mass_2(self):
"""
*astropy.Quantity*
The mass of the secondary. Defined as total_mass *
epsilon[1]. An *astropy.Quantity* with mass units. If set as a
*float*, units are assumed to be solMass.
Note that if total_mass is defined before mass_2, and there is
no epsilon corresponding to mass_2, mass_2 is added to the
total_mass.
"""
return self.total_mass * self._epsilon[1]
评论列表
文章目录