parameters: (self)
docstring: Accept the calculated UB matrix and thus put to controller
docstring_summary: Accept the calculated UB matrix and thus put to controller
docstring_tokens: Accept the calculated UB matrix and thus put to controller
function: def do_accept_ub(self):
          """ Accept the calculated UB matrix and thus put to controller
          """
          # get the experiment number
          exp_number = int(str(self.ui.lineEdit_exp.text()))
  
          # get matrix
          curr_ub = self.ui.tableWidget_ubMatrix.get_matrix()
  
          # synchronize UB matrix to tableWidget_ubInUse
          self.ui.tableWidget_ubInUse.set_from_matrix(curr_ub)
  
          # set UB matrix to system
          self._myControl.set_ub_matrix(exp_number, curr_ub)
function_tokens: def do_accept_ub ( self ) : # get the experiment number exp_number = int ( str ( self . ui . lineEdit_exp . text ( ) ) ) # get matrix curr_ub = self . ui . tableWidget_ubMatrix . get_matrix ( ) # synchronize UB matrix to tableWidget_ubInUse self . ui . tableWidget_ubInUse . set_from_matrix ( curr_ub ) # set UB matrix to system self . _myControl . set_ub_matrix ( exp_number , curr_ub )