def OnEkCompare(self, event): from extern import getTreelogE ee = getTreelogE() plot2d( [[range(len(self.modelNumbers)), self.calcEkTotal(False), "calc"], [ee[0], ee[1][:, 1], "treelog"]], "Ek total compare")
def OnExtVirialTh(self, event): from extern import getTreelogE res = getTreelogE() plot2d([res[0], 2 * res[1][:, 1] + res[1][:, 2]], "Virial Th from TREELOG(2Ek+Ep)")
def OnExtEnergy(self, event): from extern import getTreelogE res = getTreelogE() plot2d([[res[0], res[1][:, 0], "Et"], [res[0], res[1][:, 1], "Ek"], [res[0], res[1][:, 2], "Ep"]], "Energies from TREELOG")
def OnExtVirialTh(self, event): from extern import getTreelogE res = getTreelogE() plot2d([res[0], 2 * res[1][:,1] + res[1][:,2]], "Virial Th from TREELOG(2Ek+Ep)")
def OnExtEnergy(self, event): from extern import getTreelogE res = getTreelogE() plot2d([ [res[0], res[1][:,0] , "Et"], [res[0], res[1][:,1] , "Ek"], [res[0], res[1][:,2] , "Ep"]], "Energies from TREELOG")
def OnEkCompare(self, event): from extern import getTreelogE ee = getTreelogE() plot2d([[range(len(self.modelNumbers)), self.calcEkTotal(False), "calc"], [ee[0], ee[1][:,1], "treelog"]], "Ek total compare")