parameters: (self, event=None)
docstring: Generates virtual population from OD flow matrix.
docstring_summary: Generates virtual population from OD flow matrix.
docstring_tokens: Generates virtual population from OD flow matrix .
function: def on_create_pop_from_odflows(self, event=None):
          """
          Generates virtual population from OD flow matrix.
          """
  
          # self._demand.trips.clear_routes()
  
          self.proc = virtualpop.PopFromOdfGenerator('pop_from_odflow_creator',
                                                     self._demand.virtualpop,
                                                     logger=self._mainframe.get_logger()
                                                     )
  
          dlg = ProcessDialogInteractive(self._mainframe,
                                         self.proc,
                                         title=self.proc.get_name(),
                                         func_close=self.close_process,
                                         )
  
          dlg.CenterOnScreen()
  
          # this does not return until the dialog is closed.
          #val = dlg.ShowModal()
          print 'on_create_pop_from_odflows'
          dlg.Show()
          dlg.MakeModal(True)
function_tokens: def on_create_pop_from_odflows ( self , event = None ) : # self._demand.trips.clear_routes() self . proc = virtualpop . PopFromOdfGenerator ( 'pop_from_odflow_creator' , self . _demand . virtualpop , logger = self . _mainframe . get_logger ( ) ) dlg = ProcessDialogInteractive ( self . _mainframe , self . proc , title = self . proc . get_name ( ) , func_close = self . close_process , ) dlg . CenterOnScreen ( ) # this does not return until the dialog is closed. #val = dlg.ShowModal() print 'on_create_pop_from_odflows' dlg . Show ( ) dlg . MakeModal ( True )