lens.py 文件源码

python
阅读 28 收藏 0 点赞 0 评论 0

项目:MulensModel 作者: rpoleski 项目源码 文件源码
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]
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号