def on_pushNormalmodesTS_clicked(self, clicked=None): if clicked is None: return if not hasattr(self, "normalmode_explorer"): self.normalmode_explorer = NormalmodeBrowser( self, self.system, self.app) ts = self.get_selected_ts() self.normalmode_explorer.set_coords(ts.coords) self.normalmode_explorer.show()
def on_pushNormalmodesMin_clicked(self, clicked=None): if clicked is None: return if not hasattr(self, "normalmode_explorer"): self.normalmode_explorer = NormalmodeBrowser( self, self.system, self.app) min1 = self.ui.ogl_main.minima[1] self.normalmode_explorer.set_coords(min1.coords) self.normalmode_explorer.show()