Exemplo n.º 1
0
 def show(self):
         '''
         This function pops up the AerViewer
         Alias to MainLoop() function
         '''
         from Updater2D import ImagePlot, UpdateEvents
         self.gui = ImagePlot(dims=self.dims)
         self.eventsUpdate = UpdateEvents(self.gui,
                                        port=self.port,
                                        host=self.host,
                                        channel=self.channel,
                                        dims=self.dims,
                                        fps=self.fps)
         self.setup_timer(self.eventsUpdate)
         self.gui.configure_traits()
         self.eventsUpdate.stop()