def fix_status_params_format(self): start_params = ParameterSet(self.parameter()) start_params.set_by_array([j for j in self.status.params]) self.status.params = start_params
def fix_format(self): start_params = ParameterSet(self.para_func()) start_params.set_by_array([j for j in self.parameters]) self.parameters = start_params
def fix_status_params_format(self, params_max): start_params = ParameterSet(self.parameter()) start_params.set_by_array([j for j in params_max]) return start_params