示例#1
0
 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
示例#2
0
 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
示例#3
0
 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