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
评论列表
文章目录