ColNames = None,
DataFile = None,
DiagonalSparseMatrix = None,
- ExtraArgs = None,
+ ExtraArguments = None,
Info = None,
- InputAsMF = False,
+ InputFunctionAsMulti = False,
Matrix = None,
ObjectFunction = None,
ObjectMatrix = None,
elif Concept == "ObservationOperator":
self.setObservationOperator(
Matrix, OneFunction, ThreeFunctions, AppliedInXb,
- Parameters, Script, ExtraArgs,
- Stored, AvoidRC, InputAsMF, Checked )
+ Parameters, Script, ExtraArguments,
+ Stored, AvoidRC, InputFunctionAsMulti, Checked )
elif Concept in ("EvolutionModel", "ControlModel"):
commande = getattr(self,"set"+Concept)
commande(
Matrix, OneFunction, ThreeFunctions,
- Parameters, Script, Scheduler, ExtraArgs,
- Stored, AvoidRC, InputAsMF, Checked )
+ Parameters, Script, Scheduler, ExtraArguments,
+ Stored, AvoidRC, InputFunctionAsMulti, Checked )
else:
raise ValueError("the variable named '%s' is not allowed."%str(Concept))
except Exception as e:
return 0
def setObservationOperator(self,
- Matrix = None,
- OneFunction = None,
- ThreeFunctions = None,
- AppliedInXb = None,
- Parameters = None,
- Script = None,
- ExtraArgs = None,
- Stored = False,
- AvoidRC = True,
- InputAsMF = False,
- Checked = False):
+ Matrix = None,
+ OneFunction = None,
+ ThreeFunctions = None,
+ AppliedInXb = None,
+ Parameters = None,
+ Script = None,
+ ExtraArguments = None,
+ Stored = False,
+ AvoidRC = True,
+ InputFunctionAsMulti = False,
+ Checked = False):
"Definition d'un concept de calcul"
Concept = "ObservationOperator"
self.__case.register("set"+Concept, dir(), locals())
asScript = self.__with_directory(Script),
asDict = Parameters,
appliedInX = AppliedInXb,
- extraArguments = ExtraArgs,
+ extraArguments = ExtraArguments,
avoidRC = AvoidRC,
- inputAsMF = InputAsMF,
+ inputAsMF = InputFunctionAsMulti,
scheduledBy = None,
toBeChecked = Checked,
)
return 0
def setEvolutionModel(self,
- Matrix = None,
- OneFunction = None,
- ThreeFunctions = None,
- Parameters = None,
- Script = None,
- Scheduler = None,
- ExtraArgs = None,
- Stored = False,
- AvoidRC = True,
- InputAsMF = False,
- Checked = False):
+ Matrix = None,
+ OneFunction = None,
+ ThreeFunctions = None,
+ Parameters = None,
+ Script = None,
+ Scheduler = None,
+ ExtraArguments = None,
+ Stored = False,
+ AvoidRC = True,
+ InputFunctionAsMulti = False,
+ Checked = False):
"Definition d'un concept de calcul"
Concept = "EvolutionModel"
self.__case.register("set"+Concept, dir(), locals())
asScript = self.__with_directory(Script),
asDict = Parameters,
appliedInX = None,
- extraArguments = ExtraArgs,
+ extraArguments = ExtraArguments,
avoidRC = AvoidRC,
- inputAsMF = InputAsMF,
+ inputAsMF = InputFunctionAsMulti,
scheduledBy = Scheduler,
toBeChecked = Checked,
)
return 0
def setControlModel(self,
- Matrix = None,
- OneFunction = None,
- ThreeFunctions = None,
- Parameters = None,
- Script = None,
- Scheduler = None,
- ExtraArgs = None,
- Stored = False,
- AvoidRC = True,
- InputAsMF = False,
- Checked = False):
+ Matrix = None,
+ OneFunction = None,
+ ThreeFunctions = None,
+ Parameters = None,
+ Script = None,
+ Scheduler = None,
+ ExtraArguments = None,
+ Stored = False,
+ AvoidRC = True,
+ InputFunctionAsMulti = False,
+ Checked = False):
"Definition d'un concept de calcul"
Concept = "ControlModel"
self.__case.register("set"+Concept, dir(), locals())
asScript = self.__with_directory(Script),
asDict = Parameters,
appliedInX = None,
- extraArguments = ExtraArgs,
+ extraArguments = ExtraArguments,
avoidRC = AvoidRC,
- inputAsMF = InputAsMF,
+ inputAsMF = InputFunctionAsMulti,
scheduledBy = Scheduler,
toBeChecked = Checked,
)
for k in __keys:
__v = __local[k]
if __v is None: continue
- if k == "Checked" and not __v: continue
- if k == "Stored" and not __v: continue
- if k == "ColMajor" and not __v: continue
- if k == "InputAsMF" and not __v: continue
- if k == "AvoidRC" and __v: continue
+ if k == "Checked" and not __v: continue
+ if k == "Stored" and not __v: continue
+ if k == "ColMajor" and not __v: continue
+ if k == "InputFunctionAsMulti" and not __v: continue
+ if k == "AvoidRC" and __v: continue
if k == "noDetails": continue
if isinstance(__v,Persistence.Persistence): __v = __v.values()
if callable(__v): __text = self._missing%__v.__name__+__text
__text += "%s_config['From'] = '%s'\n"%(__command,__f)
__text += "%s_config['Data'] = %s\n"%(__command,__v)
__text = __text.replace("''","'")
- elif __k in ('Stored', 'Checked', 'ColMajor', 'InputAsMF'):
+ elif __k in ('Stored', 'Checked', 'ColMajor', 'InputFunctionAsMulti'):
if bool(__v):
__text += "%s_config['%s'] = '%s'\n"%(__command,__k,int(bool(__v)))
elif __k in ('AvoidRC', 'noDetails'):
adaopy.setBackgroundError (ScalarSparseMatrix = 1.)
adaopy.setObservation (Vector = [0.5,1.5,2.5])
adaopy.setObservationError (DiagonalSparseMatrix = "1 1 1")
- adaopy.setObservationOperator(OneFunction = MultiFonction, InputAsMF = True)
+ adaopy.setObservationOperator(OneFunction = MultiFonction, InputFunctionAsMulti = True)
adaopy.setObserver("Analysis",Template="ValuePrinter")
adaopy.execute()
Xa["Multi/"+algo] = adaopy.get("Analysis")[-1]
adaopy.setBackgroundError (ScalarSparseMatrix = 1.)
adaopy.setObservation (Vector = [0.5,1.5,2.5])
adaopy.setObservationError (DiagonalSparseMatrix = "1 1 1")
- adaopy.setObservationOperator(OneFunction = MultiFonction, InputAsMF = True)
+ adaopy.setObservationOperator(OneFunction = MultiFonction, InputFunctionAsMulti = True)
adaopy.setEvolutionError (ScalarSparseMatrix = 1.)
adaopy.setEvolutionModel (Matrix = "1 0 0;0 1 0;0 0 1")
adaopy.setObserver("Analysis",Template="ValuePrinter")
adaopy.setBackgroundError (ScalarSparseMatrix = 1.)
adaopy.setObservation (Vector = [0.5,1.5,2.5])
adaopy.setObservationError (DiagonalSparseMatrix = "1 2 3")
- adaopy.setObservationOperator(OneFunction = MultiFonction, InputAsMF = True)
+ adaopy.setObservationOperator(OneFunction = MultiFonction, InputFunctionAsMulti = True)
adaopy.setObserver("Analysis",Template="ValuePrinter")
adaopy.execute()
Xa["Multi/"+algo] = adaopy.get("Analysis")[-1]
adaopy.setBackgroundError (ScalarSparseMatrix = 1.)
adaopy.setObservation (Vector = [0.5,1.5,2.5,0.5,1.5,2.5,0.5,1.5,2.5])
adaopy.setObservationError (DiagonalSparseMatrix = "1 1 1 1 1 1 1 1 1")
- adaopy.setObservationOperator(OneFunction = MultiFonction01, InputAsMF = True)
+ adaopy.setObservationOperator(OneFunction = MultiFonction01, InputFunctionAsMulti = True)
adaopy.setObserver("Analysis",Template="ValuePrinter")
adaopy.execute()
Xa["Multi/"+algo] = adaopy.get("Analysis")[-1]
adaopy.setBackgroundError (ScalarSparseMatrix = 1.)
adaopy.setObservation (Vector = [0.5,1.5,2.5,0.5,1.5,2.5,0.5,1.5,2.5])
adaopy.setObservationError (DiagonalSparseMatrix = "1 1 1 1 1 1 1 1 1")
- adaopy.setObservationOperator(OneFunction = MultiFonction01, InputAsMF = True)
+ adaopy.setObservationOperator(OneFunction = MultiFonction01, InputFunctionAsMulti = True)
adaopy.setEvolutionError (ScalarSparseMatrix = 1.)
adaopy.setEvolutionModel (Matrix = "1 0 0;0 1 0;0 0 1")
adaopy.setObserver("Analysis",Template="ValuePrinter")
adaopy.setBackgroundError (ScalarSparseMatrix = 1.)
adaopy.setObservation (Vector = [0.5,1.5,2.5,0.5,1.5,2.5,0.5,1.5,2.5])
adaopy.setObservationError (DiagonalSparseMatrix = "1 1 1 1 1 1 1 1 1")
- adaopy.setObservationOperator(OneFunction = MultiFonction01, InputAsMF = True)
+ adaopy.setObservationOperator(OneFunction = MultiFonction01, InputFunctionAsMulti = True)
adaopy.setObserver("Analysis",Template="ValuePrinter")
adaopy.execute()
Xa["Multi/"+algo] = adaopy.get("Analysis")[-1]