def save_plots(self,event): output_folder = self.choose_folder()+'/' if not output_folder: self.update_output('No output folder selected, try again') return try: R = pe.Report(self.D, output_folder=output_folder, room_name=self.room_name.get(), im_fn=self.im_fn.get()) except: self.update_output('Could not produce reports')
def verbose_report(self,event): output_folder = self.choose_folder()+'/' if not output_folder: self.update_output('No output folder selected, try again') return try: self.D except Exception as e: self.update_output('input files not loaded', str(e)) return R = pe.Report(self.D, output_folder, self.room_name.get(), im_fn=self.im_fn.get()) R.full_report()
def show_OGP_stats(self,event): pe.Report(self.D).OGP_workload_plot()
def show_workload(self,event): pe.Report(self.D).source_workload_plots()
def show_room(self,event): if self.im_fn.get() != '': pe.Report(self.D).show_room(im_fn=self.im_fn.get()) else: pe.Report(self.D).show_room()