Isentrope.py 文件源码

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

项目:F_UNCLE 作者: fraserphysics 项目源码 文件源码
def get_sigma(self):
        """Returns the co-variance matrix of the spline

        Return:
            (np.ndarray):
                Co-variance matrix for the EOS shape is (nxn) where n is the dof
                of the model
        """

        sigma = self.get_option('spline_sigma')

        return np.diag((sigma * self.prior.get_dof())**2)
        # alpha = 3/self.shape()\
        #         * np.log(self.get_option('spline_max')
        #                  /self.get_option('spline_min'))

        # beta = np.log(1 + self.get_option('spline_sigma'))
        #return self.gram
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号