def run(self, run_time): # set up the correct dsg algorithm if self._user_dsg_algorithm is not None: self.dsg_algorithm = self._user_dsg_algorithm # run normal procedure AbstractSpinnakerBase.run(self, run_time)
def run(self, run_time): """ Run a simulation for a fixed amount of time :param run_time: the run duration in milliseconds. """ # set up the correct DSG algorithm if self._user_dsg_algorithm is not None: self.dsg_algorithm = self._user_dsg_algorithm # run normal procedure AbstractSpinnakerBase.run(self, run_time)