pyqhaGUI.py 文件源码

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

项目:pyqha 作者: mauropalumbo75 项目源码 文件源码
def OnFitisoEtot(self, event):
        try:

            self.a, self.cov, self.chi = fit_Murn(self.V,self.E)
            print_eos_data(self.V,self.E,self.a,self.chi,"Etot")

            fig1 = plot_EV(self.V,self.E,self.a)                    # plot the E(V) data and the fitting line
            fig1.savefig("figure_1.png")

        except:
            wx.MessageBox("Something wrong while fitting total energies...",
                "", wx.OK | wx.ICON_EXCLAMATION, self)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号