Пример #1
0
	def callback_cluster_fit_log(self):
		tab = self.notebook.currentWidget()
		index=self.notebook.currentIndex()
		name=self.notebook.tabText(index)
		path=os.path.join(self.sim_dir,name)
		find_fit_log("./fit.dat",path)
		os.system("gnuplot -persist ./fit.dat &\n")
Пример #2
0
	def callback_cluster_fit_log(self,widget):
		pageNum = self.notebook.get_current_page()
		tab = self.notebook.get_nth_page(pageNum)
		name=tab.tab_name
		path=os.path.join(self.sim_dir,name)
		find_fit_log("./fit.dat",path)
		os.system("gnuplot -persist ./fit.dat &\n")
Пример #3
0
	def callback_hpc_fitlog_plot(self, widget, data=None):
		plot_script_file=os.path.join(os.getcwd(),"plot","hpc_fitlog.plot")
		print plot_script_file
		find_fit_log(plot_script_file,"../hpc/")
		self.terminal.feed_child("gnuplot -persist "+plot_script_file+"\n")
Пример #4
0
	def callback_cluster_fit_log(self):
		tab = self.notebook.currentWidget()
		name=tab.tab_name
		path=os.path.join(self.sim_dir,name)
		find_fit_log("./fit.dat",path)
		os.system("gnuplot -persist ./fit.dat &\n")