Salome HOME
Completing EFICAS tree modification and its documentation
authorJean-Philippe ARGAUD <jean-philippe.argaud@edf.fr>
Sun, 1 Mar 2015 21:07:37 +0000 (22:07 +0100)
committerJean-Philippe ARGAUD <jean-philippe.argaud@edf.fr>
Sun, 1 Mar 2015 21:07:37 +0000 (22:07 +0100)
70 files changed:
bin/AdaoCatalogGenerator.py
doc/en/examples.rst
doc/en/images/adao_algopar_defaults.png
doc/en/images/adao_algopar_script.png
doc/en/images/adao_algopar_string.png
doc/en/ref_algorithm_3DVAR.rst
doc/en/ref_algorithm_AdjointTest.rst
doc/en/ref_algorithm_Blue.rst
doc/en/ref_algorithm_EnsembleBlue.rst
doc/en/ref_algorithm_ExtendedBlue.rst
doc/en/ref_algorithm_ExtendedKalmanFilter.rst
doc/en/ref_algorithm_FunctionTest.rst
doc/en/ref_algorithm_GradientTest.rst
doc/en/ref_algorithm_KalmanFilter.rst
doc/en/ref_algorithm_LinearLeastSquares.rst
doc/en/ref_algorithm_LinearityTest.rst
doc/en/ref_algorithm_NonLinearLeastSquares.rst
doc/en/ref_algorithm_ObserverTest.rst
doc/en/ref_algorithm_ParticleSwarmOptimization.rst
doc/en/ref_algorithm_QuantileRegression.rst
doc/en/ref_algorithm_SamplingTest.rst
doc/en/ref_algorithm_TangentTest.rst
doc/en/ref_algorithm_UnscentedKalmanFilter.rst
doc/en/ref_assimilation_keywords.rst
doc/en/ref_checking_keywords.rst
doc/en/ref_options_AlgorithmParameters.rst
doc/en/ref_output_variables.rst
doc/en/using.rst
doc/fr/examples.rst
doc/fr/images/adao_algopar_defaults.png
doc/fr/images/adao_algopar_script.png
doc/fr/images/adao_algopar_string.png
doc/fr/ref_algorithm_3DVAR.rst
doc/fr/ref_algorithm_AdjointTest.rst
doc/fr/ref_algorithm_Blue.rst
doc/fr/ref_algorithm_EnsembleBlue.rst
doc/fr/ref_algorithm_ExtendedBlue.rst
doc/fr/ref_algorithm_ExtendedKalmanFilter.rst
doc/fr/ref_algorithm_FunctionTest.rst
doc/fr/ref_algorithm_GradientTest.rst
doc/fr/ref_algorithm_KalmanFilter.rst
doc/fr/ref_algorithm_LinearLeastSquares.rst
doc/fr/ref_algorithm_LinearityTest.rst
doc/fr/ref_algorithm_NonLinearLeastSquares.rst
doc/fr/ref_algorithm_ObserverTest.rst
doc/fr/ref_algorithm_ParticleSwarmOptimization.rst
doc/fr/ref_algorithm_QuantileRegression.rst
doc/fr/ref_algorithm_SamplingTest.rst
doc/fr/ref_algorithm_TangentTest.rst
doc/fr/ref_algorithm_UnscentedKalmanFilter.rst
doc/fr/ref_assimilation_keywords.rst
doc/fr/ref_checking_keywords.rst
doc/fr/ref_options_AlgorithmParameters.rst
doc/fr/ref_output_variables.rst
doc/fr/using.rst
examples/daSalome/test001_ADAO_JDC_using_strings.comm
examples/daSalome/test002_ADAO_JDC_using_strings.comm
examples/daSalome/test003_ADAO_JDC_using_scripts.comm.in
examples/daSalome/test003_bis_ADAO_JDC_using_user_data_init.comm.in
examples/daSalome/test004_ADAO_JDC_using_scripts.comm.in
examples/daSalome/test005_ADAO_Operators.comm.in
examples/daSalome/test006_Observers.comm.in
examples/daSalome/test006_Observers.py.in
examples/daSalome/test008_ADAO_Elementary_GradientTest.comm
examples/daSalome/test009_ADAO_Simple_GradientTest.comm
examples/daSalome/test010_ADAO_Simple_AdjointTest.comm
src/daEficas/generator_adao.py
src/daEficas/traduitADAOV7_4_0ToV7_6_0.py
src/daEficas/traduitADAOV7_5_0ToV7_6_0.py
src/daEficas/traduitADAOV7_5_1ToV7_6_0.py

index 71315402bbc1057dc129eef3b5ed5cb9332b9cd6..55ca12cd43f8cbde77edc912ac94337dec46bb60 100644 (file)
@@ -192,7 +192,7 @@ def F_Observers(statut) : return FACT(
 """
 
 algo_choices = """
-def F_AlgorithmChoices(statut,algos_names) : return FACT(
+def F_AlgorithmParameters(statut,algos_names) : return FACT(
     statut = statut,
     Algorithm = SIMP(statut="o", typ = "TXM", into = algos_names ),
     Parameters = SIMP(statut="f", typ = "TXM", into=("Defaults", "Dict") ),
@@ -222,7 +222,7 @@ ASSIMILATION_STUDY = PROC(nom="ASSIMILATION_STUDY",
     StudyName           = SIMP(statut="o", typ = "TXM", defaut="ADAO Calculation Case"),
     StudyRepertory      = SIMP(statut="f", typ = "Repertoire", min=1, max=1),
     Debug               = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0),
-    AlgorithmChoices    = F_AlgorithmChoices("o",(${algos_names})),
+    AlgorithmParameters = F_AlgorithmParameters("o",(${algos_names})),
     Background          = F_Background("o"),
     BackgroundError     = F_BackgroundError("o"),
     Observation         = F_Observation("o"),
@@ -244,7 +244,7 @@ CHECKING_STUDY = PROC(nom="CHECKING_STUDY",
     StudyName           = SIMP(statut="o", typ = "TXM", defaut="ADAO Checking Case"),
     StudyRepertory      = SIMP(statut="f", typ = "Repertoire", min=1, max=1),
     Debug               = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0),
-    AlgorithmChoices    = F_AlgorithmChoices("o",(${check_names})),
+    AlgorithmParameters = F_AlgorithmParameters("o",(${check_names})),
     CheckingPoint       = F_CheckingPoint("o"),
     BackgroundError     = F_BackgroundError("f"),
     Observation         = F_Observation("f"),
index c215ac7f8b7b0efd58eba86ccb71a136dc9f0f46..a02f4caa29503f22e7d2797f402284f229651c15 100644 (file)
@@ -309,11 +309,12 @@ Adding parameters to control the data assimilation algorithm
 ------------------------------------------------------------
 
 One can add some optional parameters to control the data assimilation algorithm
-calculation. This is done by using the "*AlgorithmParameters*" keyword in the
-definition of the ADAO case, which is an keyword of the "*ASSIMILATION_STUDY*"
-general command. This keyword requires a Python dictionary, containing some
-key/value pairs. The list of possible optional parameters are given in the
-subsection :ref:`section_reference`.
+calculation. This is done by using optional parameters in the
+"*AlgorithmParameters*" command of the ADAO case definition, which is a keyword of
+the "*ASSIMILATION_STUDY*" general command. This keyword requires an explicit
+definition of the values or a Python dictionary, containing some key/value
+pairs. The list of possible optional parameters are given in the section
+:ref:`section_reference` and its subsections.
 
 This dictionary has to be defined, for example, in an external Python script
 file, using the mandatory variable name "*AlgorithmParameters*" for the
index 181972b4ef19e49048790430f6589a7acc0ce814..2ad7368bfba26101b9e068f97d7d9fcfe52422de 100644 (file)
Binary files a/doc/en/images/adao_algopar_defaults.png and b/doc/en/images/adao_algopar_defaults.png differ
index fb00575a5c3690a84e913aa196b1b2c7ff740026..14db2c7674f270b90df608e83dc2c9aaf973e49d 100644 (file)
Binary files a/doc/en/images/adao_algopar_script.png and b/doc/en/images/adao_algopar_script.png differ
index 5d4f86246bf74a9f56d01e2c36f07b3a389487fe..b6ce2de591596cc4bb0f912ceff5ab3094c29faf 100644 (file)
Binary files a/doc/en/images/adao_algopar_string.png and b/doc/en/images/adao_algopar_string.png differ
index d25dd6bdbabb7345aaca3f70c909e9fdc4ac463d..d2f442b156858d47613726686c9839dbf04075e9 100644 (file)
@@ -41,6 +41,7 @@ which is usually designed as the "*3D-VAR*" function (see for example
 Optional and required commands
 ++++++++++++++++++++++++++++++
 
+.. index:: single: AlgorithmParameters
 .. index:: single: Background
 .. index:: single: BackgroundError
 .. index:: single: Observation
@@ -95,10 +96,11 @@ following:
     :math:`(X,U)`.
 
 The general optional commands, available in the editing user interface, are
-indicated in :ref:`section_ref_assimilation_keywords`. In particular, the
-optional command "*AlgorithmParameters*" allows to choose the specific options,
+indicated in :ref:`section_ref_assimilation_keywords`. Moreover, the parameters
+of the command "*AlgorithmParameters*" allows to choose the specific options,
 described hereafter, of the algorithm. See
-:ref:`section_ref_options_AlgorithmParameters` for the good use of this command.
+:ref:`section_ref_options_Algorithm_Parameters` for the good use of this
+command.
 
 The options of the algorithm are the following:
 
index be09ba99f106439572133044b6df42644bf15caa..3f67d8d950f4d246f6c70228248166824f18beab 100644 (file)
@@ -47,6 +47,7 @@ take :math:`\mathbf{y} = F(\mathbf{x})`.
 Optional and required commands
 ++++++++++++++++++++++++++++++
 
+.. index:: single: AlgorithmParameters
 .. index:: single: CheckingPoint
 .. index:: single: ObservationOperator
 .. index:: single: AmplitudeOfInitialDirection
@@ -74,10 +75,11 @@ following:
     pair :math:`(X,U)`.
 
 The general optional commands, available in the editing user interface, are
-indicated in :ref:`section_ref_assimilation_keywords`. In particular, the
-optional command "*AlgorithmParameters*" allows to choose the specific options,
+indicated in :ref:`section_ref_assimilation_keywords`. Moreover, the parameters
+of the command "*AlgorithmParameters*" allow to choose the specific options,
 described hereafter, of the algorithm. See
-:ref:`section_ref_options_AlgorithmParameters` for the good use of this command.
+:ref:`section_ref_options_Algorithm_Parameters` for the good use of this
+command.
 
 The options of the algorithm are the following:
 
index 248a37b6d70a4b87a96d68c3f030a08c61c4f3cd..8fb5bc2ab6c5dadd23355882f02fc3ee30170c98 100644 (file)
@@ -46,6 +46,7 @@ In case of non-linearity, even slightly marked, it will be easily prefered the
 Optional and required commands
 ++++++++++++++++++++++++++++++
 
+.. index:: single: AlgorithmParameters
 .. index:: single: Background
 .. index:: single: BackgroundError
 .. index:: single: Observation
@@ -94,10 +95,11 @@ following:
     :math:`(X,U)`.
 
 The general optional commands, available in the editing user interface, are
-indicated in :ref:`section_ref_assimilation_keywords`. In particular, the
-optional command "*AlgorithmParameters*" allows to choose the specific options,
+indicated in :ref:`section_ref_assimilation_keywords`. Moreover, the parameters
+of the command "*AlgorithmParameters*" allows to choose the specific options,
 described hereafter, of the algorithm. See
-:ref:`section_ref_options_AlgorithmParameters` for the good use of this command.
+:ref:`section_ref_options_Algorithm_Parameters` for the good use of this
+command.
 
 The options of the algorithm are the following:
 
index 6130ede8c8c93fc8f9527c9ac3d0873ae2154ff2..b7ff885a573a965f4df76faf9c6c09655b864716 100644 (file)
@@ -43,6 +43,7 @@ linearity of the observation operator with the help of the
 Optional and required commands
 ++++++++++++++++++++++++++++++
 
+.. index:: single: AlgorithmParameters
 .. index:: single: Background
 .. index:: single: BackgroundError
 .. index:: single: Observation
@@ -87,10 +88,11 @@ following:
     :math:`(X,U)`.
 
 The general optional commands, available in the editing user interface, are
-indicated in :ref:`section_ref_assimilation_keywords`. In particular, the
-optional command "*AlgorithmParameters*" allows to choose the specific options,
+indicated in :ref:`section_ref_assimilation_keywords`. Moreover, the parameters
+of the command "*AlgorithmParameters*" allows to choose the specific options,
 described hereafter, of the algorithm. See
-:ref:`section_ref_options_AlgorithmParameters` for the good use of this command.
+:ref:`section_ref_options_Algorithm_Parameters` for the good use of this
+command.
 
 The options of the algorithm are the following:
 
index 14b629bcd8337395c4e5cb563844c09067122c9c..9768399d16f67bba69fd2a9260aeebbb2fe20e3d 100644 (file)
@@ -44,6 +44,7 @@ without being entirely equivalent.
 Optional and required commands
 ++++++++++++++++++++++++++++++
 
+.. index:: single: AlgorithmParameters
 .. index:: single: Background
 .. index:: single: BackgroundError
 .. index:: single: Observation
@@ -92,10 +93,11 @@ following:
     :math:`(X,U)`.
 
 The general optional commands, available in the editing user interface, are
-indicated in :ref:`section_ref_assimilation_keywords`. In particular, the
-optional command "*AlgorithmParameters*" allows to choose the specific options,
+indicated in :ref:`section_ref_assimilation_keywords`. Moreover, the parameters
+of the command "*AlgorithmParameters*" allows to choose the specific options,
 described hereafter, of the algorithm. See
-:ref:`section_ref_options_AlgorithmParameters` for the good use of this command.
+:ref:`section_ref_options_Algorithm_Parameters` for the good use of this
+command.
 
 The options of the algorithm are the following:
 
index d313387e5173edd02636d73f946daac2e8a71448..5726f1fa362d4615bef0c6bdf9d117dd6247ba2b 100644 (file)
@@ -36,6 +36,7 @@ extended Kalman Filter, using a non-linear calculation of the state.
 Optional and required commands
 ++++++++++++++++++++++++++++++
 
+.. index:: single: AlgorithmParameters
 .. index:: single: Background
 .. index:: single: BackgroundError
 .. index:: single: Observation
@@ -83,10 +84,11 @@ following:
     :math:`(X,U)`.
 
 The general optional commands, available in the editing user interface, are
-indicated in :ref:`section_ref_assimilation_keywords`. In particular, the
-optional command "*AlgorithmParameters*" allows to choose the specific options,
+indicated in :ref:`section_ref_assimilation_keywords`. Moreover, the parameters
+of the command "*AlgorithmParameters*" allows to choose the specific options,
 described hereafter, of the algorithm. See
-:ref:`section_ref_options_AlgorithmParameters` for the good use of this command.
+:ref:`section_ref_options_Algorithm_Parameters` for the good use of this
+command.
 
 The options of the algorithm are the following:
 
index 1b74e3b2231937312a9e7a067f1ea37103adf395..c16fbf97914620d64da3c2d660c231749ffe0861 100644 (file)
@@ -43,6 +43,7 @@ of operator.
 Optional and required commands
 ++++++++++++++++++++++++++++++
 
+.. index:: single: AlgorithmParameters
 .. index:: single: CheckingPoint
 .. index:: single: ObservationOperator
 .. index:: single: NumberOfPrintedDigits
@@ -69,10 +70,11 @@ following:
     :math:`(X,U)`.
 
 The general optional commands, available in the editing user interface, are
-indicated in :ref:`section_ref_assimilation_keywords`. In particular, the
-optional command "*AlgorithmParameters*" allows to choose the specific options,
+indicated in :ref:`section_ref_assimilation_keywords`. Moreover, the parameters
+of the command "*AlgorithmParameters*" allow to choose the specific options,
 described hereafter, of the algorithm. See
-:ref:`section_ref_options_AlgorithmParameters` for the good use of this command.
+:ref:`section_ref_options_Algorithm_Parameters` for the good use of this
+command.
 
 The options of the algorithm are the following:
 
index e588a067defc3649c568bd07d1fc42c07abd448f..de57cbe80bedfb03c975abcc288dd853b4c44a09 100644 (file)
@@ -63,6 +63,7 @@ which has to remain stable until the calculation precision is reached.
 Optional and required commands
 ++++++++++++++++++++++++++++++
 
+.. index:: single: AlgorithmParameters
 .. index:: single: CheckingPoint
 .. index:: single: ObservationOperator
 .. index:: single: AmplitudeOfInitialDirection
@@ -91,10 +92,11 @@ following:
     pair :math:`(X,U)`.
 
 The general optional commands, available in the editing user interface, are
-indicated in :ref:`section_ref_assimilation_keywords`. In particular, the
-optional command "*AlgorithmParameters*" allows to choose the specific options,
+indicated in :ref:`section_ref_assimilation_keywords`. Moreover, the parameters
+of the command "*AlgorithmParameters*" allow to choose the specific options,
 described hereafter, of the algorithm. See
-:ref:`section_ref_options_AlgorithmParameters` for the good use of this command.
+:ref:`section_ref_options_Algorithm_Parameters` for the good use of this
+command.
 
 The options of the algorithm are the following:
 
index dcd35f85318efd11e3906074fdf4571231b4c355..e1d51ab399b41fd679cee75f6c9508b0de3cdf4a 100644 (file)
@@ -45,6 +45,7 @@ In case of non-linearity, even slightly marked, it will be preferred the
 Optional and required commands
 ++++++++++++++++++++++++++++++
 
+.. index:: single: AlgorithmParameters
 .. index:: single: Background
 .. index:: single: BackgroundError
 .. index:: single: Observation
@@ -90,10 +91,11 @@ following:
     :math:`(X,U)`.
 
 The general optional commands, available in the editing user interface, are
-indicated in :ref:`section_ref_assimilation_keywords`. In particular, the
-optional command "*AlgorithmParameters*" allows to choose the specific options,
+indicated in :ref:`section_ref_assimilation_keywords`. Moreover, the parameters
+of the command "*AlgorithmParameters*" allows to choose the specific options,
 described hereafter, of the algorithm. See
-:ref:`section_ref_options_AlgorithmParameters` for the good use of this command.
+:ref:`section_ref_options_Algorithm_Parameters` for the good use of this
+command.
 
 The options of the algorithm are the following:
 
index dad7414fb49b961b8f2a1d2fdcceec2cea08853d..29e186d843d74ab28da095770ac21f19cd8cbd4c 100644 (file)
@@ -48,6 +48,7 @@ In all cases, it is recommanded to prefer at least the
 Optional and required commands
 ++++++++++++++++++++++++++++++
 
+.. index:: single: AlgorithmParameters
 .. index:: single: Observation
 .. index:: single: ObservationError
 .. index:: single: ObservationOperator
@@ -79,10 +80,11 @@ following:
     :math:`(X,U)`.
 
 The general optional commands, available in the editing user interface, are
-indicated in :ref:`section_ref_assimilation_keywords`. In particular, the
-optional command "*AlgorithmParameters*" allows to choose the specific options,
+indicated in :ref:`section_ref_assimilation_keywords`. Moreover, the parameters
+of the command "*AlgorithmParameters*" allows to choose the specific options,
 described hereafter, of the algorithm. See
-:ref:`section_ref_options_AlgorithmParameters` for the good use of this command.
+:ref:`section_ref_options_Algorithm_Parameters` for the good use of this
+command.
 
 The options of the algorithm are the following:
 
index ab7657e42e673f8687388c479ee2a66952b3eed8..1716c279559a3a216522e13614a0398e5455fe7a 100644 (file)
@@ -112,6 +112,7 @@ If it is equal to 0 only on part of the variation domain of increment
 Optional and required commands
 ++++++++++++++++++++++++++++++
 
+.. index:: single: AlgorithmParameters
 .. index:: single: CheckingPoint
 .. index:: single: ObservationOperator
 .. index:: single: AmplitudeOfInitialDirection
@@ -140,10 +141,11 @@ following:
     pair :math:`(X,U)`.
 
 The general optional commands, available in the editing user interface, are
-indicated in :ref:`section_ref_assimilation_keywords`. In particular, the
-optional command "*AlgorithmParameters*" allows to choose the specific options,
+indicated in :ref:`section_ref_assimilation_keywords`. Moreover, the parameters
+of the command "*AlgorithmParameters*" allow to choose the specific options,
 described hereafter, of the algorithm. See
-:ref:`section_ref_options_AlgorithmParameters` for the good use of this command.
+:ref:`section_ref_options_Algorithm_Parameters` for the good use of this
+command.
 
 The options of the algorithm are the following:
 
index 19905f29c6b7ced1acc7de2572e5b7c1938ff36e..29d930d111ac910a74d00bc42c8869192bd521c5 100644 (file)
@@ -45,6 +45,7 @@ for its stability as for its behaviour during optimization.
 Optional and required commands
 ++++++++++++++++++++++++++++++
 
+.. index:: single: AlgorithmParameters
 .. index:: single: Background
 .. index:: single: Observation
 .. index:: single: ObservationError
@@ -88,10 +89,11 @@ following:
     :math:`(X,U)`.
 
 The general optional commands, available in the editing user interface, are
-indicated in :ref:`section_ref_assimilation_keywords`. In particular, the
-optional command "*AlgorithmParameters*" allows to choose the specific options,
+indicated in :ref:`section_ref_assimilation_keywords`. Moreover, the parameters
+of the command "*AlgorithmParameters*" allows to choose the specific options,
 described hereafter, of the algorithm. See
-:ref:`section_ref_options_AlgorithmParameters` for the good use of this command.
+:ref:`section_ref_options_Algorithm_Parameters` for the good use of this
+command.
 
 The options of the algorithm are the following:
 
index b840a97bc244eb5dcd791d9ea60a50bb2f16bd79..3c201fb2986bf0d7c01b7984c439237cf22efbeb 100644 (file)
@@ -38,6 +38,7 @@ explicitly associated with the *observer* in the interface.
 Optional and required commands
 ++++++++++++++++++++++++++++++
 
+.. index:: single: AlgorithmParameters
 .. index:: single: CheckingPoint
 .. index:: single: ObservationOperator
 .. index:: single: Observers
index 843b6b4ea93037aad68b31c36ea1ed0f1750b24c..e1eca534efa536bf93292820ea3f744528dad003 100644 (file)
@@ -41,6 +41,7 @@ least squares function, classicaly used in data assimilation.
 Optional and required commands
 ++++++++++++++++++++++++++++++
 
+.. index:: single: AlgorithmParameters
 .. index:: single: Background
 .. index:: single: BackgroundError
 .. index:: single: Observation
@@ -92,10 +93,11 @@ following:
     :math:`(X,U)`.
 
 The general optional commands, available in the editing user interface, are
-indicated in :ref:`section_ref_assimilation_keywords`. In particular, the
-optional command "*AlgorithmParameters*" allows to choose the specific options,
+indicated in :ref:`section_ref_assimilation_keywords`. Moreover, the parameters
+of the command "*AlgorithmParameters*" allows to choose the specific options,
 described hereafter, of the algorithm. See
-:ref:`section_ref_options_AlgorithmParameters` for the good use of this command.
+:ref:`section_ref_options_Algorithm_Parameters` for the good use of this
+command.
 
 The options of the algorithm are the following:
 
index c09e9791d73740f7adbf911a0058fe0b0ec9845d..c8a417db9090b23d88b6c1ff4e2c049ffe00139e 100644 (file)
@@ -38,6 +38,7 @@ the model parameters that satisfy to the quantiles conditions.
 Optional and required commands
 ++++++++++++++++++++++++++++++
 
+.. index:: single: AlgorithmParameters
 .. index:: single: Background
 .. index:: single: Observation
 .. index:: single: ObservationOperator
@@ -72,10 +73,11 @@ following:
     :math:`(X,U)`.
 
 The general optional commands, available in the editing user interface, are
-indicated in :ref:`section_ref_assimilation_keywords`. In particular, the
-optional command "*AlgorithmParameters*" allows to choose the specific options,
+indicated in :ref:`section_ref_assimilation_keywords`. Moreover, the parameters
+of the command "*AlgorithmParameters*" allows to choose the specific options,
 described hereafter, of the algorithm. See
-:ref:`section_ref_options_AlgorithmParameters` for the good use of this command.
+:ref:`section_ref_options_Algorithm_Parameters` for the good use of this
+command.
 
 The options of the algorithm are the following:
 
index a2aa2d1716e359d0df82f1049f110c02a899dbef..baf16fadfcc52e206186a18f6ab05efa2c8109ab 100644 (file)
@@ -51,6 +51,7 @@ SALOME : PARAMETRIC or OPENTURNS.
 Optional and required commands
 ++++++++++++++++++++++++++++++
 
+.. index:: single: AlgorithmParameters
 .. index:: single: CheckingPoint
 .. index:: single: BackgroundError
 .. index:: single: Observation
@@ -102,10 +103,11 @@ following:
     :math:`(X,U)`.
 
 The general optional commands, available in the editing user interface, are
-indicated in :ref:`section_ref_assimilation_keywords`. In particular, the
-optional command "*AlgorithmParameters*" allows to choose the specific options,
+indicated in :ref:`section_ref_assimilation_keywords`. Moreover, the parameters
+of the command "*AlgorithmParameters*" allow to choose the specific options,
 described hereafter, of the algorithm. See
-:ref:`section_ref_options_AlgorithmParameters` for the good use of this command.
+:ref:`section_ref_options_Algorithm_Parameters` for the good use of this
+command.
 
 The options of the algorithm are the following:
 
index db6f79f223773cec855ab612cd66153be025fa2d..7b8460d967dddd2f03ec49c962bc618ea9d56e1b 100644 (file)
@@ -55,6 +55,7 @@ One take :math:`\mathbf{dx}_0=Normal(0,\mathbf{x})` and
 Optional and required commands
 ++++++++++++++++++++++++++++++
 
+.. index:: single: AlgorithmParameters
 .. index:: single: CheckingPoint
 .. index:: single: ObservationOperator
 .. index:: single: AmplitudeOfInitialDirection
@@ -82,10 +83,11 @@ following:
     pair :math:`(X,U)`.
 
 The general optional commands, available in the editing user interface, are
-indicated in :ref:`section_ref_assimilation_keywords`. In particular, the
-optional command "*AlgorithmParameters*" allows to choose the specific options,
+indicated in :ref:`section_ref_assimilation_keywords`. Moreover, the parameters
+of the command "*AlgorithmParameters*" allow to choose the specific options,
 described hereafter, of the algorithm. See
-:ref:`section_ref_options_AlgorithmParameters` for the good use of this command.
+:ref:`section_ref_options_Algorithm_Parameters` for the good use of this
+command.
 
 The options of the algorithm are the following:
 
index 8f135dc601bfab9d079057af333abf19edea3d49..b628f2d047f64c6a1f76587902edf5e788c1552d 100644 (file)
@@ -38,6 +38,7 @@ extended Kalman filter.
 Optional and required commands
 ++++++++++++++++++++++++++++++
 
+.. index:: single: AlgorithmParameters
 .. index:: single: Background
 .. index:: single: BackgroundError
 .. index:: single: Observation
@@ -89,10 +90,11 @@ following:
     :math:`(X,U)`.
 
 The general optional commands, available in the editing user interface, are
-indicated in :ref:`section_ref_assimilation_keywords`. In particular, the
-optional command "*AlgorithmParameters*" allows to choose the specific options,
+indicated in :ref:`section_ref_assimilation_keywords`. Moreover, the parameters
+of the command "*AlgorithmParameters*" allows to choose the specific options,
 described hereafter, of the algorithm. See
-:ref:`section_ref_options_AlgorithmParameters` for the good use of this command.
+:ref:`section_ref_options_Algorithm_Parameters` for the good use of this
+command.
 
 The options of the algorithm are the following:
 
index 1c04988e8cb0f4b053e9c15856d0ebee3b3f94fa..0d4e684540af452abdf63407d8d807f20bffacac 100644 (file)
@@ -61,18 +61,16 @@ The different commands are the following:
     assimilation or optimization case. It hierarchically contains all the other
     commands.
 
-  Algorithm
-    *Required command*. This is a string to indicate the data assimilation or
-    optimization algorithm chosen. The choices are limited and available through
-    the GUI. There exists for example "3DVAR", "Blue"... See below the list of
-    algorithms and associated parameters, each described by a subsection.
-
   AlgorithmParameters
-    *Optional command*. This command allows to add some optional parameters to
-    control the data assimilation or optimization algorithm. Its value is
-    defined as a "*Dict*" type object. See the section
-    :ref:`section_ref_options_AlgorithmParameters` for for the correct use of
-    this command.
+    *Required command*. This indicates the data assimilation or optimization
+    algorithm chosen by the keyword "*Algorithm*", and its potential optional
+    parameters. The algorithm choices are available through the GUI. There
+    exists for example "3DVAR", "Blue"... Each algorithm is defined, below, by a
+    specific subsection. Optionaly, the command allows also to add some
+    parameters to control the algorithm. Their values are defined either
+    explicitly or in a "*Dict*" type object. See the
+    :ref:`section_ref_options_Algorithm_Parameters` for the detailed use of this
+    command part.
 
   Background
     *Required command*. This indicates the background or initial vector used,
index 63126aaf9b30b9b5142dad2883401cbd50dbcb02..878c0f5ae6a996940092324f8491eda660e018d4 100644 (file)
@@ -53,18 +53,16 @@ The different commands are the following:
     *Required command*. This is the general command describing the checking
     case. It hierarchically contains all the other commands.
 
-  Algorithm
-    *Required command*. This is a string to indicate the checking algorithm chosen.
-    The choices are limited and available through the GUI. There exists for
-    example "FunctionTest", "AdjointTest"... See below the list of algorithms
-    and associated parameters, each described by a subsection.
-
   AlgorithmParameters
-    *Optional command*. This command allows to add some optional parameters to
-    control the data assimilation or optimization algorithm. Its value is
-    defined as a "*Dict*" type object. See the section
-    :ref:`section_ref_options_AlgorithmParameters` for for the correct use of
-    this command.
+    *Required command*. This indicates the checking algorithm chosen by the
+    keyword "*Algorithm*", and its potential optional parameters. The algorithm
+    choices are available through the GUI. There exists for example
+    "FunctionTest", "GradientTest"... Each algorithm is defined, below, by a
+    specific subsection. Optionaly, the command allows also to add some
+    parameters to control the algorithm. Their values are defined either
+    explicitly or in a "*Dict*" type object. See the
+    :ref:`section_ref_options_Algorithm_Parameters` for the detailed use of this
+    command part.
 
   CheckingPoint
     *Required command*. This indicates the vector used as the state around which
index b40d0460e85bc2fcfc39dd56b3b68752246d414f..4261e19997a2188fca746a1338c5596498188967 100644 (file)
    Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
 
 .. index:: single: AlgorithmParameters
-.. _section_ref_options_AlgorithmParameters:
+.. index:: single: Parameters
+.. index:: single: Defaults
+.. _section_ref_options_Algorithm_Parameters:
 
-Description of options of an algorithm by "*AlgorithmParameters*"
------------------------------------------------------------------
+Description of options of an algorithm in "*AlgorithmParameters*"
+--------------------------------------------------------------
 
-Each algorithm can be controlled using some specific options, given through the
-"*AlgorithmParameters*" optional command.
+Each algorithm can be controlled using some specific options or parameters. They
+are given through the "*Parameters*" optional command included in the mandatory
+command "*AlgorithmParameters*".
 
-There are 2 practical methods for the user to provide these options. The
-method is chosen by the keyword "*FROM*", included in the entry
-"*AlgorithmParameters*" in EFICAS.
+There are 3 practical methods for the user to provide these options. The method
+is determined as follows in EFICAS:
 
-If an option is specified by the user for an algorithm that doesn't support it,
-the option is simply left unused and don't stop the treatment. The meaning of
-the acronyms or particular names can be found in the :ref:`genindex` or the
-:ref:`section_glossary`.
+#. firstly using the "*Parameters*" keyword in the "*AlgorithmParameters*" command, which allows to choose between "*Defaults*" (use of explicit pre-filled keywords by default parameters values) and "*Dict*" (use of a dictionary to fill the necessary keywords),
+#. then secondly, only in the "*Dict*" case of "*Parameters*", by the included keyword "*FROM*" which allows to choose between a string entry and a Python script file entry.
 
-First method : using a string in EFICAS
-+++++++++++++++++++++++++++++++++++++++
+If an option or a parameter is specified by the user for an algorithm that
+doesn't support it, the option is simply left unused and don't stop the
+treatment. The meaning of the acronyms or particular names can be found in the
+:ref:`genindex` or the :ref:`section_glossary`.
 
-To give the values for the command "*AlgorithmParameters*" as a string, directly
-in the EFICAS graphical interface, the user selects this type in the keyword
-"*FROM*", as shown in the following figure:
+First method : using explicit pre-filled keywords
++++++++++++++++++++++++++++++++++++++++++++++++++
+
+To give the parameters values by explicit pre-filled keywords, directly in the
+EFICAS graphical interface, the user selects the type "*Defaults*" in the
+keyword "*Parameters*", then the keywords in the given "*Parameters[Algo]*" list
+which appears, linked with the chosen algorithm, as shown in the following
+figure:
+
+  .. adao_algopar_defaults:
+  .. image:: images/adao_algopar_defaults.png
+    :align: center
+    :width: 100%
+  .. centered::
+    **Using explicit pre-filled keywords for algorithmic parameters**
+
+Each parameter is optional, and it is presented with its default value when it
+is selected by the user. One can then modify its value, or fill it in list cases
+for example.
+
+It is the recommended way to modify only some algorithmic parameters in a safe
+way. This method allows only to define authorized paramters for a given
+algorithm, and the defined values are not keeped if the user changes the
+algorithm.
+
+Second method : using a string in EFICAS
+++++++++++++++++++++++++++++++++++++++++
+
+To give the parameters values as a string, directly in the EFICAS graphical
+interface, the user selects the type "*Dict*" in the keyword "*Parameters*",
+then the type "*String*" in the keyword "*FROM*" of the "*Dict*" command which
+appears, as shown in the following figure:
 
   .. :adao_algopar_string
   .. image:: images/adao_algopar_string.png
@@ -58,13 +89,17 @@ quotes, as for example::
 
     '{"MaximumNumberOfSteps":25,"SetSeed":1000}'
 
-It is the recommended way to define algorithmic parameters.
+It is the recommended way to define algorithmic parameters. This method allows
+in particular to keep options or parameters for other algorithms than the
+currently used one. It is then easier to change of algorithm or to keep default
+values different of the standard defaults.
 
-Second method : using an external Python script file
-++++++++++++++++++++++++++++++++++++++++++++++++++++
+Third method : using an external Python script file
+++++++++++++++++++++++++++++++++++++++++++++++++++
 
-To give the values for the command "*AlgorithmParameters*" in an external Python
-script file, the user selects in EFICAS this type in the keyword "*FROM*", as
+To give the parameters values as an external Python script file, the user
+selects in EFICAS the type "*Dict*" in the keyword "*Parameters*", then the type
+"*Script*" in the keyword "*FROM*" of the "*Dict*" command which appears, as
 shown in the following figure:
 
   .. :adao_algopar_script
@@ -82,4 +117,6 @@ name "*AlgorithmParameters*", as in the following example::
         "StoreSupplementaryCalculations" : ["APosterioriCovariance","OMA"],
         }
 
-The file can also contain other Python commands.
+The file can also contain other Python commands. This method also allows, as the
+previous one, to keep options or parameters for other algorithms than the
+currently used one.
index f45c147a6b685a32d865fd9a7190dfe605a26a52..f7f0079af54aa01eacb6fbfaf280d986a4b6822f 100644 (file)
@@ -146,9 +146,9 @@ calculation. The other information are only present for certain algorithms
 and/or if they have been requested before the execution of the calculation.
 
 It is recalled that the user can request additional information during the
-preparation of its ADAO case, using the optional control "*AlgorithmParameters*"
-of ADAO case. Reference will be made to the
-:ref:`section_ref_options_AlgorithmParameters` for the proper use of this
+preparation of its ADAO case, using the optional control "*AlgorithmParameters*" of
+ADAO case. Reference will be made to the
+:ref:`section_ref_options_Algorithm_Parameters` for the proper use of this
 command, and to the description of each algorithm for the information available
 by algorithm. One can also ask to keep some input information by changing the
 boolean "* * Stored" associated with it in the edition of the ADAO case.
index bfbfe2dc7180f7a61dbc9f2867307feb44e1b4cc..6daef08bfbfc2ef1a7b30794fca6091b77a80a77 100644 (file)
@@ -119,8 +119,8 @@ A new case is set up with the minimal list of commands. All the mandatory
 commands or keywords are already present, none of them can be suppressed.
 Optional keywords can be added by choosing them in a list of suggestions of
 allowed ones for the main command, for example the "*ASSIMILATION_STUDY*"
-command. As an example, one can add an "*AlgorithmParameters*" keyword, as
-described in the last part of the section :ref:`section_examples`.
+command. As an example, one can add parameters in the "*AlgorithmParameters*"
+keyword, as described in the last part of the section :ref:`section_examples`.
 
 At the end, when all fields or keywords have been correctly defined, each line
 of the commands tree must have a green flag. This indicates that the whole case
index 7207efb4d7f787b7f20f7bece045ddc3170d0a23..91ed9506977d240d3808fcfd658123271eb8881c 100644 (file)
@@ -328,11 +328,12 @@ Ajout de param
 -------------------------------------------------------------------------
 
 On peut ajouter des paramètres optionnels pour contrôler le calcul de
-l'algorithme d'assimilation de données. Ceci se fait en utilisant le mot-clé
-"*AlgorithmParameters*" dans la définition du cas ADAO, qui est un mot-clé de la
-commande générale "*ASSIMILATION_STUDY*". Ce mot-clé nécessite un dictionnaire
-Python, contenant des paires clé/valeur. La liste des paramètres optionnels
-possibles sont donnés dans la section :ref:`section_reference`.
+l'algorithme d'assimilation de données. Ceci se fait en utilisant les paramètres
+optionnels dans la commande "*AlgorithmParameters*" de la définition du cas ADAO,
+qui est un mot-clé de la commande générale "*ASSIMILATION_STUDY*". Ce mot-clé
+nécessite une définition explicite des valeurs ou un dictionnaire Python,
+contenant des paires clé/valeur. La liste des paramètres optionnels possibles
+sont donnés dans la section :ref:`section_reference` et ses sous-sections.
 
 Le dictionnaire doit Ãªtre défini, par exemple, dans un fichiers externe de
 script Python, en utilisant le nom obligatoire de variable
index 05a6272109455ed270dfb17065b4976cf482d6c7..c3e2dd4b0d4f41d70ad57d7586f753e8f261d6e6 100644 (file)
Binary files a/doc/fr/images/adao_algopar_defaults.png and b/doc/fr/images/adao_algopar_defaults.png differ
index ecc4c4e3324bebd27d241bf0740b97e4eaec0b79..dbbb7f8903551f0528dc89f21299662700c7c3eb 100644 (file)
Binary files a/doc/fr/images/adao_algopar_script.png and b/doc/fr/images/adao_algopar_script.png differ
index bef0aa8e36a59807e7753d7e0c84bfeed59ebaa8..361ad80cca560f90fb1007d5113e7c3dc194aa7f 100644 (file)
Binary files a/doc/fr/images/adao_algopar_string.png and b/doc/fr/images/adao_algopar_string.png differ
index be8dc6e2c1eab5d2b69d4b9a5ed3ba56a291b0d2..abea537752a91b886da3ad0147e3973c954775e2 100644 (file)
@@ -42,6 +42,7 @@ qui est usuellement d
 Commandes requises et optionnelles
 ++++++++++++++++++++++++++++++++++
 
+.. index:: single: AlgorithmParameters
 .. index:: single: Background
 .. index:: single: BackgroundError
 .. index:: single: Observation
@@ -97,10 +98,10 @@ les suivantes:
     appliqué Ã  une paire :math:`(X,U)`.
 
 Les commandes optionnelles générales, disponibles dans l'interface en Ã©dition,
-sont indiquées dans la :ref:`section_ref_assimilation_keywords`. En particulier,
-la commande optionnelle "*AlgorithmParameters*" permet d'indiquer les options
+sont indiquées dans la :ref:`section_ref_assimilation_keywords`. De plus, les
+paramètres de la commande "*AlgorithmParameters*" permettent d'indiquer les options
 particulières, décrites ci-après, de l'algorithme. On se reportera Ã  la
-:ref:`section_ref_options_AlgorithmParameters` pour le bon usage de cette
+:ref:`section_ref_options_Algorithm_Parameters` pour le bon usage de cette
 commande.
 
 Les options de l'algorithme sont les suivantes:
index 6abff7640f51ca8fe06ac644c289dc42b511fed0..a8b0acfcc6fabfe1de1f73c01ea8c621ad39bc36 100644 (file)
@@ -46,6 +46,7 @@ prend :math:`\mathbf{y} = F(\mathbf{x})`.
 Commandes requises et optionnelles
 ++++++++++++++++++++++++++++++++++
 
+.. index:: single: AlgorithmParameters
 .. index:: single: CheckingPoint
 .. index:: single: ObservationOperator
 .. index:: single: AmplitudeOfInitialDirection
@@ -74,10 +75,10 @@ les suivantes:
     paire :math:`(X,U)`.
 
 Les commandes optionnelles générales, disponibles dans l'interface en Ã©dition,
-sont indiquées dans la :ref:`section_ref_checking_keywords`. En particulier, la
-commande optionnelle "*AlgorithmParameters*" permet d'indiquer les options
+sont indiquées dans la :ref:`section_ref_checking_keywords`. De plus, les
+paramètres de la commande "*AlgorithmParameters*" permettent d'indiquer les options
 particulières, décrites ci-après, de l'algorithme. On se reportera Ã  la
-:ref:`section_ref_options_AlgorithmParameters` pour le bon usage de cette
+:ref:`section_ref_options_Algorithm_Parameters` pour le bon usage de cette
 commande.
 
 Les options de l'algorithme sont les suivantes:
index ae1205a58a1d0ea90b007660dcbf60dae5b67cfb..a74863026735de53fc253509a42d6c82aedf5b31 100644 (file)
@@ -47,6 +47,7 @@ l':ref:`section_ref_algorithm_3DVAR`.
 Commandes requises et optionnelles
 ++++++++++++++++++++++++++++++++++
 
+.. index:: single: AlgorithmParameters
 .. index:: single: Background
 .. index:: single: BackgroundError
 .. index:: single: Observation
@@ -96,10 +97,10 @@ les suivantes:
     appliqué Ã  une paire :math:`(X,U)`.
 
 Les commandes optionnelles générales, disponibles dans l'interface en Ã©dition,
-sont indiquées dans la :ref:`section_ref_assimilation_keywords`. En particulier,
-la commande optionnelle "*AlgorithmParameters*" permet d'indiquer les options
+sont indiquées dans la :ref:`section_ref_assimilation_keywords`. De plus, les
+paramètres de la commande "*AlgorithmParameters*" permettent d'indiquer les options
 particulières, décrites ci-après, de l'algorithme. On se reportera Ã  la
-:ref:`section_ref_options_AlgorithmParameters` pour le bon usage de cette
+:ref:`section_ref_options_Algorithm_Parameters` pour le bon usage de cette
 commande.
 
 Les options de l'algorithme sont les suivantes:
index b146e748587333ba370cd0dba0ec3614179df838..d8add0d6bbfa6128de16c01a3f040a6b08c88db7 100644 (file)
@@ -43,6 +43,7 @@ l':ref:`section_ref_algorithm_LinearityTest`.
 Commandes requises et optionnelles
 ++++++++++++++++++++++++++++++++++
 
+.. index:: single: AlgorithmParameters
 .. index:: single: Background
 .. index:: single: BackgroundError
 .. index:: single: Observation
@@ -88,10 +89,10 @@ les suivantes:
     appliqué Ã  une paire :math:`(X,U)`.
 
 Les commandes optionnelles générales, disponibles dans l'interface en Ã©dition,
-sont indiquées dans la :ref:`section_ref_assimilation_keywords`. En particulier,
-la commande optionnelle "*AlgorithmParameters*" permet d'indiquer les options
+sont indiquées dans la :ref:`section_ref_assimilation_keywords`. De plus, les
+paramètres de la commande "*AlgorithmParameters*" permettent d'indiquer les options
 particulières, décrites ci-après, de l'algorithme. On se reportera Ã  la
-:ref:`section_ref_options_AlgorithmParameters` pour le bon usage de cette
+:ref:`section_ref_options_Algorithm_Parameters` pour le bon usage de cette
 commande.
 
 Les options de l'algorithme sont les suivantes:
index 5a9ff1bc8f364a89f6479b105550e20c374da97a..6b0b15214fe6c8168108d0a0a9857913f3249c97 100644 (file)
@@ -44,6 +44,7 @@ lui 
 Commandes requises et optionnelles
 ++++++++++++++++++++++++++++++++++
 
+.. index:: single: AlgorithmParameters
 .. index:: single: Background
 .. index:: single: BackgroundError
 .. index:: single: Observation
@@ -93,10 +94,10 @@ les suivantes:
     appliqué Ã  une paire :math:`(X,U)`.
 
 Les commandes optionnelles générales, disponibles dans l'interface en Ã©dition,
-sont indiquées dans la :ref:`section_ref_assimilation_keywords`. En particulier,
-la commande optionnelle "*AlgorithmParameters*" permet d'indiquer les options
+sont indiquées dans la :ref:`section_ref_assimilation_keywords`. De plus, les
+paramètres de la commande "*AlgorithmParameters*" permettent d'indiquer les options
 particulières, décrites ci-après, de l'algorithme. On se reportera Ã  la
-:ref:`section_ref_options_AlgorithmParameters` pour le bon usage de cette
+:ref:`section_ref_options_Algorithm_Parameters` pour le bon usage de cette
 commande.
 
 Les options de l'algorithme sont les suivantes:
index a3ffabbf92e5f172d767ec1519d23286cc28ecf3..ced362f72cca2195becc846b139e94d6ee511655 100644 (file)
@@ -37,6 +37,7 @@ incr
 Commandes requises et optionnelles
 ++++++++++++++++++++++++++++++++++
 
+.. index:: single: AlgorithmParameters
 .. index:: single: Background
 .. index:: single: BackgroundError
 .. index:: single: Observation
@@ -85,10 +86,10 @@ les suivantes:
     appliqué Ã  une paire :math:`(X,U)`.
 
 Les commandes optionnelles générales, disponibles dans l'interface en Ã©dition,
-sont indiquées dans la :ref:`section_ref_assimilation_keywords`. En particulier,
-la commande optionnelle "*AlgorithmParameters*" permet d'indiquer les options
+sont indiquées dans la :ref:`section_ref_assimilation_keywords`. De plus, les
+paramètres de la commande "*AlgorithmParameters*" permettent d'indiquer les options
 particulières, décrites ci-après, de l'algorithme. On se reportera Ã  la
-:ref:`section_ref_options_AlgorithmParameters` pour le bon usage de cette
+:ref:`section_ref_options_Algorithm_Parameters` pour le bon usage de cette
 commande.
 
 Les options de l'algorithme sont les suivantes:
index 7e42b2b4b3eb814d87804a8b986cd4cd3aca593d..587ba40c04b213a5529860cce1ab87b3cbef6066 100644 (file)
@@ -45,6 +45,7 @@ d'op
 Commandes requises et optionnelles
 ++++++++++++++++++++++++++++++++++
 
+.. index:: single: AlgorithmParameters
 .. index:: single: CheckingPoint
 .. index:: single: ObservationOperator
 .. index:: single: NumberOfPrintedDigits
@@ -72,10 +73,10 @@ les suivantes:
     paire :math:`(X,U)`.
 
 Les commandes optionnelles générales, disponibles dans l'interface en Ã©dition,
-sont indiquées dans la :ref:`section_ref_checking_keywords`. En particulier, la
-commande optionnelle "*AlgorithmParameters*" permet d'indiquer les options
+sont indiquées dans la :ref:`section_ref_checking_keywords`. De plus, les
+paramètres de la commande "*AlgorithmParameters*" permettent d'indiquer les options
 particulières, décrites ci-après, de l'algorithme. On se reportera Ã  la
-:ref:`section_ref_options_AlgorithmParameters` pour le bon usage de cette
+:ref:`section_ref_options_Algorithm_Parameters` pour le bon usage de cette
 commande.
 
 Les options de l'algorithme sont les suivantes:
index 5a555ec50e7b2dc817d9dd0588edd444e496a33a..61bd4fe562345c832766ebe50bd2436f26f6dbf8 100644 (file)
@@ -67,6 +67,7 @@ qui doit rester constant jusqu'
 Commandes requises et optionnelles
 ++++++++++++++++++++++++++++++++++
 
+.. index:: single: AlgorithmParameters
 .. index:: single: CheckingPoint
 .. index:: single: ObservationOperator
 .. index:: single: AmplitudeOfInitialDirection
@@ -96,10 +97,10 @@ les suivantes:
     paire :math:`(X,U)`.
 
 Les commandes optionnelles générales, disponibles dans l'interface en Ã©dition,
-sont indiquées dans la :ref:`section_ref_checking_keywords`. En particulier, la
-commande optionnelle "*AlgorithmParameters*" permet d'indiquer les options
+sont indiquées dans la :ref:`section_ref_checking_keywords`. De plus, les
+paramètres de la commande "*AlgorithmParameters*" permettent d'indiquer les options
 particulières, décrites ci-après, de l'algorithme. On se reportera Ã  la
-:ref:`section_ref_options_AlgorithmParameters` pour le bon usage de cette
+:ref:`section_ref_options_Algorithm_Parameters` pour le bon usage de cette
 commande.
 
 Les options de l'algorithme sont les suivantes:
index 195f99c6926899ef9b4f9d8572891ec42cd9955c..e159698f1b8c3f0152bd1f52630c5687fc1060f8 100644 (file)
@@ -45,6 +45,7 @@ l':ref:`section_ref_algorithm_UnscentedKalmanFilter`.
 Commandes requises et optionnelles
 ++++++++++++++++++++++++++++++++++
 
+.. index:: single: AlgorithmParameters
 .. index:: single: Background
 .. index:: single: BackgroundError
 .. index:: single: Observation
@@ -91,10 +92,10 @@ les suivantes:
     appliqué Ã  une paire :math:`(X,U)`.
 
 Les commandes optionnelles générales, disponibles dans l'interface en Ã©dition,
-sont indiquées dans la :ref:`section_ref_assimilation_keywords`. En particulier,
-la commande optionnelle "*AlgorithmParameters*" permet d'indiquer les options
+sont indiquées dans la :ref:`section_ref_assimilation_keywords`. De plus, les
+paramètres de la commande "*AlgorithmParameters*" permettent d'indiquer les options
 particulières, décrites ci-après, de l'algorithme. On se reportera Ã  la
-:ref:`section_ref_options_AlgorithmParameters` pour le bon usage de cette
+:ref:`section_ref_options_Algorithm_Parameters` pour le bon usage de cette
 commande.
 
 Les options de l'algorithme sont les suivantes:
index 10bc9ce02ef24882a92de74c5c8f5566aeac2493..89669b151d398687ec9881d7516e982bbcfb4f68 100644 (file)
@@ -48,6 +48,7 @@ l':ref:`section_ref_algorithm_3DVAR`.
 Commandes requises et optionnelles
 ++++++++++++++++++++++++++++++++++
 
+.. index:: single: AlgorithmParameters
 .. index:: single: Observation
 .. index:: single: ObservationError
 .. index:: single: ObservationOperator
@@ -80,10 +81,10 @@ les suivantes:
     appliqué Ã  une paire :math:`(X,U)`.
 
 Les commandes optionnelles générales, disponibles dans l'interface en Ã©dition,
-sont indiquées dans la :ref:`section_ref_assimilation_keywords`. En particulier,
-la commande optionnelle "*AlgorithmParameters*" permet d'indiquer les options
+sont indiquées dans la :ref:`section_ref_assimilation_keywords`. De plus, les
+paramètres de la commande "*AlgorithmParameters*" permettent d'indiquer les options
 particulières, décrites ci-après, de l'algorithme. On se reportera Ã  la
-:ref:`section_ref_options_AlgorithmParameters` pour le bon usage de cette
+:ref:`section_ref_options_Algorithm_Parameters` pour le bon usage de cette
 commande.
 
 Les options de l'algorithme sont les suivantes:
index e399dce6d9b5b656752cd299f3bd98e947964f85..3a9cb4b9ebb7bcea96e24bab5ba3c66addc6c881 100644 (file)
@@ -111,6 +111,7 @@ de F est v
 Commandes requises et optionnelles
 ++++++++++++++++++++++++++++++++++
 
+.. index:: single: AlgorithmParameters
 .. index:: single: CheckingPoint
 .. index:: single: ObservationOperator
 .. index:: single: AmplitudeOfInitialDirection
@@ -140,10 +141,10 @@ les suivantes:
     paire :math:`(X,U)`.
 
 Les commandes optionnelles générales, disponibles dans l'interface en Ã©dition,
-sont indiquées dans la :ref:`section_ref_checking_keywords`. En particulier, la
-commande optionnelle "*AlgorithmParameters*" permet d'indiquer les options
+sont indiquées dans la :ref:`section_ref_checking_keywords`. De plus, les
+paramètres de la commande "*AlgorithmParameters*" permettent d'indiquer les options
 particulières, décrites ci-après, de l'algorithme. On se reportera Ã  la
-:ref:`section_ref_options_AlgorithmParameters` pour le bon usage de cette
+:ref:`section_ref_options_Algorithm_Parameters` pour le bon usage de cette
 commande.
 
 Les options de l'algorithme sont les suivantes:
index 8a575231bb99dbca3a65c263c1a4caea340a941a..bceef237dd2cbf474d18029a7d6e636fcffeda1b 100644 (file)
@@ -46,6 +46,7 @@ comportement lors de l'optimisation.
 Commandes requises et optionnelles
 ++++++++++++++++++++++++++++++++++
 
+.. index:: single: AlgorithmParameters
 .. index:: single: Background
 .. index:: single: Observation
 .. index:: single: ObservationError
@@ -90,10 +91,10 @@ les suivantes:
     appliqué Ã  une paire :math:`(X,U)`.
 
 Les commandes optionnelles générales, disponibles dans l'interface en Ã©dition,
-sont indiquées dans la :ref:`section_ref_assimilation_keywords`. En particulier,
-la commande optionnelle "*AlgorithmParameters*" permet d'indiquer les options
+sont indiquées dans la :ref:`section_ref_assimilation_keywords`. De plus, les
+paramètres de la commande "*AlgorithmParameters*" permettent d'indiquer les options
 particulières, décrites ci-après, de l'algorithme. On se reportera Ã  la
-:ref:`section_ref_options_AlgorithmParameters` pour le bon usage de cette
+:ref:`section_ref_options_Algorithm_Parameters` pour le bon usage de cette
 commande.
 
 Les options de l'algorithme sont les suivantes:
index dd9873c7492d834954245f4bb65406d9897a71b1..73ce4f4e1c33b993a96b768a5890065c5d20e4a1 100644 (file)
@@ -39,6 +39,7 @@ l'interface.
 Commandes requises et optionnelles
 ++++++++++++++++++++++++++++++++++
 
+.. index:: single: AlgorithmParameters
 .. index:: single: CheckingPoint
 .. index:: single: ObservationOperator
 .. index:: single: Observers
index ff6fcb6cdab892b62818c8dfaa9eec60eb596507..a7320c4be5a6866e87a8fefd0997bf168a390ea6 100644 (file)
@@ -42,6 +42,7 @@ en assimilation de donn
 Commandes requises et optionnelles
 ++++++++++++++++++++++++++++++++++
 
+.. index:: single: AlgorithmParameters
 .. index:: single: Background
 .. index:: single: BackgroundError
 .. index:: single: Observation
@@ -94,10 +95,10 @@ les suivantes:
     appliqué Ã  une paire :math:`(X,U)`.
 
 Les commandes optionnelles générales, disponibles dans l'interface en Ã©dition,
-sont indiquées dans la :ref:`section_ref_assimilation_keywords`. En particulier,
-la commande optionnelle "*AlgorithmParameters*" permet d'indiquer les options
+sont indiquées dans la :ref:`section_ref_assimilation_keywords`. De plus, les
+paramètres de la commande "*AlgorithmParameters*" permettent d'indiquer les options
 particulières, décrites ci-après, de l'algorithme. On se reportera Ã  la
-:ref:`section_ref_options_AlgorithmParameters` pour le bon usage de cette
+:ref:`section_ref_options_Algorithm_Parameters` pour le bon usage de cette
 commande.
 
 Les options de l'algorithme sont les suivantes:
index be80ca497ec2e7844f00240cb4fcb0a63e5dfe8f..dd6fe00a5126e38e13f509402870b9bb4c8be04e 100644 (file)
@@ -38,6 +38,7 @@ d
 Commandes requises et optionnelles
 ++++++++++++++++++++++++++++++++++
 
+.. index:: single: AlgorithmParameters
 .. index:: single: Background
 .. index:: single: Observation
 .. index:: single: ObservationOperator
@@ -73,10 +74,10 @@ les suivantes:
     appliqué Ã  une paire :math:`(X,U)`.
 
 Les commandes optionnelles générales, disponibles dans l'interface en Ã©dition,
-sont indiquées dans la :ref:`section_ref_assimilation_keywords`. En particulier,
-la commande optionnelle "*AlgorithmParameters*" permet d'indiquer les options
+sont indiquées dans la :ref:`section_ref_assimilation_keywords`. De plus, les
+paramètres de la commande "*AlgorithmParameters*" permettent d'indiquer les options
 particulières, décrites ci-après, de l'algorithme. On se reportera Ã  la
-:ref:`section_ref_options_AlgorithmParameters` pour le bon usage de cette
+:ref:`section_ref_options_Algorithm_Parameters` pour le bon usage de cette
 commande.
 
 Les options de l'algorithme sont les suivantes:
index b4f689e5675b92df2b25faf021f36e5393f12735..e16b9973b0c943d5a7ab547e1fca9f5ad3eb764c 100644 (file)
@@ -52,6 +52,7 @@ modules disponibles dans SALOME : PARAMETRIC ou OPENTURNS.
 Commandes requises et optionnelles
 ++++++++++++++++++++++++++++++++++
 
+.. index:: single: AlgorithmParameters
 .. index:: single: CheckingPoint
 .. index:: single: BackgroundError
 .. index:: single: Observation
@@ -105,10 +106,10 @@ les suivantes:
     paire :math:`(X,U)`.
 
 Les commandes optionnelles générales, disponibles dans l'interface en Ã©dition,
-sont indiquées dans la :ref:`section_ref_checking_keywords`. En particulier, la
-commande optionnelle "*AlgorithmParameters*" permet d'indiquer les options
+sont indiquées dans la :ref:`section_ref_checking_keywords`. De plus, les
+paramètres de la commande "*AlgorithmParameters*" permettent d'indiquer les options
 particulières, décrites ci-après, de l'algorithme. On se reportera Ã  la
-:ref:`section_ref_options_AlgorithmParameters` pour le bon usage de cette
+:ref:`section_ref_options_Algorithm_Parameters` pour le bon usage de cette
 commande.
 
 Les options de l'algorithme sont les suivantes:
index f421120b08c817444e02120746507dab713ca023..2058572d108fb0fe30f9f55c78236367b21c3c36 100644 (file)
@@ -56,6 +56,7 @@ On prend :math:`\mathbf{dx}_0=Normal(0,\mathbf{x})` et
 Commandes requises et optionnelles
 ++++++++++++++++++++++++++++++++++
 
+.. index:: single: AlgorithmParameters
 .. index:: single: CheckingPoint
 .. index:: single: ObservationOperator
 .. index:: single: AmplitudeOfInitialDirection
@@ -84,10 +85,10 @@ les suivantes:
     paire :math:`(X,U)`.
 
 Les commandes optionnelles générales, disponibles dans l'interface en Ã©dition,
-sont indiquées dans la :ref:`section_ref_checking_keywords`. En particulier, la
-commande optionnelle "*AlgorithmParameters*" permet d'indiquer les options
+sont indiquées dans la :ref:`section_ref_checking_keywords`. De plus, les
+paramètres de la commande "*AlgorithmParameters*" permettent d'indiquer les options
 particulières, décrites ci-après, de l'algorithme. On se reportera Ã  la
-:ref:`section_ref_options_AlgorithmParameters` pour le bon usage de cette
+:ref:`section_ref_options_Algorithm_Parameters` pour le bon usage de cette
 commande.
 
 Les options de l'algorithme sont les suivantes:
index d8d13d31fc1866846f4c59dc472ed1dfb85a74cd..50dc6619676c7e2537ec8e5adc18063cd02e3af3 100644 (file)
@@ -38,6 +38,7 @@ comme dans les filtres de Kalman simple ou 
 Commandes requises et optionnelles
 ++++++++++++++++++++++++++++++++++
 
+.. index:: single: AlgorithmParameters
 .. index:: single: Background
 .. index:: single: BackgroundError
 .. index:: single: Observation
@@ -90,10 +91,10 @@ les suivantes:
     appliqué Ã  une paire :math:`(X,U)`.
 
 Les commandes optionnelles générales, disponibles dans l'interface en Ã©dition,
-sont indiquées dans la :ref:`section_ref_assimilation_keywords`. En particulier,
-la commande optionnelle "*AlgorithmParameters*" permet d'indiquer les options
+sont indiquées dans la :ref:`section_ref_assimilation_keywords`. De plus, les
+paramètres de la commande "*AlgorithmParameters*" permettent d'indiquer les options
 particulières, décrites ci-après, de l'algorithme. On se reportera Ã  la
-:ref:`section_ref_options_AlgorithmParameters` pour le bon usage de cette
+:ref:`section_ref_options_Algorithm_Parameters` pour le bon usage de cette
 commande.
 
 Les options de l'algorithme sont les suivantes:
index b0a065666d27024afc1f600d42971108a5a91cc7..067ea5bfcd544a20bd3d383b453d0bd34b637dbf 100644 (file)
@@ -61,19 +61,17 @@ Les diff
     d'assimilation de données ou d'optimisation. Elle contient hiérarchiquement
     toutes les autres commandes.
 
-  Algorithm
-    *Commande obligatoire*. C'est une chaîne de caractère qui indique
-    l'algorithme d'assimilation de données ou d'optimisation choisi. Les choix
-    sont limités et disponibles Ã  travers l'interface graphique. Il existe par
-    exemple le "3DVAR", le "Blue"... Voir plus loin la liste des algorithmes et
-    des paramètres associés, chacun décrit par une sous-section.
-
   AlgorithmParameters
-    *Commande optionnelle*. Elle permet d'ajouter des paramètres optionnels pour
-    contrôler l'algorithme d'assimilation de données ou d'optimisation. Sa
-    valeur est définie comme un objet de type "*Dict*". Voir la
-    :ref:`section_ref_options_AlgorithmParameters` pour l'usage correct de cette
-    commande.
+    *Commande obligatoire*. Elle définit l'algorithme d'assimilation de données
+    ou d'optimisation choisi par le mot-clé "*Algorithm*", et ses Ã©ventuels
+    paramètres optionnels. Les choix d'algorithmes sont disponibles Ã  travers
+    l'interface graphique. Il existe par exemple le "3DVAR", le "Blue"... Chaque
+    algorithme est défini, plus loin, par une sous-section spécifique. De
+    manière facultative, la commande permet aussi d'ajouter des paramètres pour
+    contrôler l'algorithme. Leurs valeurs sont définies explicitement ou dans un
+    objet de type "*Dict*". On se reportera Ã  la
+    :ref:`section_ref_options_Algorithm_Parameters` pour l'usage détaillé de
+    cette partie de la commande.
 
   Background
     *Commande obligatoire*. Elle définit le vecteur d'ébauche ou
index 147092f8fb57175945eaac598f5c45dc93b91a59..cf6840d69fed677debcdf2de1975806228caa073 100644 (file)
@@ -53,19 +53,17 @@ Les diff
     *Commande obligatoire*. C'est la commande générale qui décrit le cas de
     vérification. Elle contient hiérarchiquement toutes les autres commandes.
 
-  Algorithm
-    *Commande obligatoire*. C'est une chaîne de caractère qui indique
-    l'algorithme de test choisi. Les choix sont limités et disponibles Ã  travers
-    l'interface graphique. Il existe par exemple "FunctionTest",
-    "AdjointTest"... Voir plus loin la liste des algorithmes et des paramètres
-    associés, chacun décrit par une sous-section.
-
   AlgorithmParameters
-    *Commande optionnelle*. Elle permet d'ajouter des paramètres optionnels pour
-    contrôler l'algorithme d'assimilation de données ou d'optimisation. Sa
-    valeur est définie comme un objet de type "*Dict*". Voir la
-    :ref:`section_ref_options_AlgorithmParameters` pour l'usage correct de cette
-    commande.
+    *Commande obligatoire*. Elle définit l'algorithme de test choisi par le
+    mot-clé "*Algorithm*", et ses Ã©ventuels paramètres optionnels. Les choix
+    d'algorithmes sont disponibles Ã  travers l'interface graphique. Il existe
+    par exemple le "FunctionTest", le "GradientTest"... Chaque algorithme est
+    défini, plus loin, par une sous-section spécifique. De manière facultative,
+    la commande permet aussi d'ajouter des paramètres pour contrôler
+    l'algorithme. Leurs valeurs sont définies explicitement ou dans un objet de
+    type "*Dict*". On se reportera Ã  la
+    :ref:`section_ref_options_Algorithm_Parameters` pour l'usage détaillé de
+    cette partie de la commande.
 
   CheckingPoint
     *Commande obligatoire*. Elle définit le vecteur utilisé comme l'état autour
index 2c347e592d4ea6286412588e488d74d1d26e1ed4..875ec16cc51bb2a6cb0599958c2a3413299d85c8 100644 (file)
    Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
 
 .. index:: single: AlgorithmParameters
-.. _section_ref_options_AlgorithmParameters:
+.. index:: single: Parameters
+.. index:: single: Defaults
+.. _section_ref_options_Algorithm_Parameters:
 
-Description des options d'un algorithme par "*AlgorithmParameters*"
--------------------------------------------------------------------
+Description des options d'un algorithme dans "*AlgorithmParameters*"
+-----------------------------------------------------------------
 
-Chaque algorithme peut Ãªtre contrôlé en utilisant des options particulières,
-données Ã  travers la commande optionnelle "*AlgorithmParameters*".
+Chaque algorithme peut Ãªtre contrôlé en utilisant des options ou des paramètres
+particuliers. Ils sont donnés Ã  travers la commande optionnelle "*Parameters*"
+incluse dans la commande obligatoire "*AlgorithmParameters*".
 
-Il y a 2 méthodes pratiques pour l'utilisateur pour fournir ces options. La
-méthode est choisie Ã  l'aide du mot-clé "*FROM*", inclus dans l'entrée
-"*AlgorithmParameters*" dans EFICAS.
+Il y a 3 méthodes pratiques pour l'utilisateur pour fournir ces options. La
+méthode est déterminée de la manière suivante dans EFICAS :
 
-Si une option est spécifiée par l'utilisateur pour un algorithme qui ne la
-supporte pas, cette option est simplement laissée inutilisée et ne bloque pas le
-traitement. La signification des acronymes ou des noms particuliers peut Ãªtre
-trouvée dans l':ref:`genindex` ou dans le :ref:`section_glossary`.
+#. premièrement Ã  l'aide du mot-clé "*Parameters*" dans la commande "*AlgorithmParameters*", qui permet de choisir entre "*Defaults*" (utilisation de mots-clés explicites pré-remplis par les valeurs par défaut des paramètres) et "*Dict*" (utilisation d'un dictionnaire pour renseigner les mots-clés nécessaires),
+#. puis deuxièmement, uniquement dans le cas "*Dict*" de "*Parameters*", par le mot-clé "*FROM*" inclus qui permet de choisir entre une entrée par chaîne de caractères ou une entrée par fichier de script Python.
 
-Première méthode : utiliser une chaîne de caractères dans EFICAS
+Si une option ou un paramètre est spécifié par l'utilisateur pour un algorithme
+qui ne la supporte pas, cette option est simplement laissée inutilisée et ne
+bloque pas le traitement. La signification des acronymes ou des noms
+particuliers peut Ãªtre trouvée dans l':ref:`genindex` ou dans le
+:ref:`section_glossary`.
+
+Première méthode : utiliser les mots-clés explicites pré-remplis
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
-Pour donner les valeurs de la commande "*AlgorithmParameters*" par une chaîne de
-caractères, directement dans l'interface graphique EFICAS, l'utilisateur
-sélectionne ce type dans le mot-clé "*FROM*", comme montré dans la figure qui
-suit :
+Pour donner les valeurs des paramètres par les mots-clés explicites pré-remplis,
+directement dans l'interface graphique EFICAS, l'utilisateur sélectionne le type
+"*Defaults*" dans le mot-clé "*Parameters*", puis les mots-clés dans la liste
+prévue "*Parameters[Algo]*" qui apparaît, associée Ã  l'algorithme choisi, comme
+montré dans la figure qui suit :
+
+  .. adao_algopar_defaults:
+  .. image:: images/adao_algopar_defaults.png
+    :align: center
+    :width: 100%
+  .. centered::
+    **Utiliser les mots-clés explicites pré-remplis pour les paramètres algorithmiques**
+
+Chaque paramètre est optionnel, et il présente sa valeur par défaut lorsqu'il
+est sélectionné par l'utilisateur. On peut alors modifier sa valeur, ou la
+renseigner dans le cas de listes par exemple.
+
+C'est la manière recommandée pour modifier uniquement une partie des paramètres
+algorithmiques de manière sûre. Cette méthode ne permet de définir que les
+paramètres autorisés pour un algorithme donné, et les valeurs définies ne sont
+pas conservées si l'utilisateur change d'algorithme.
+
+Seconde méthode : utiliser une chaîne de caractères dans EFICAS
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+
+Pour donner les valeurs des paramètres par une chaîne de caractères, directement
+dans l'interface graphique EFICAS, l'utilisateur sélectionne le type "*Dict*"
+dans le mot-clé "*Parameters*", puis le type "*String*" dans le mot-clé "*FROM*"
+de la commande "*Dict*" qui apparaît, comme montré dans la figure qui suit :
 
   .. adao_algopar_string:
   .. image:: images/adao_algopar_string.png
@@ -59,14 +90,19 @@ d
 
     '{"MaximumNumberOfSteps":25,"SetSeed":1000}'
 
-C'est la manière recommandée pour définir des paramètres algorithmiques.
+C'est la manière recommandée pour définir des paramètres algorithmiques. Cette
+méthode permet en particulier de conserver des options ou des paramètres pour
+d'autres algorithmes que celui que l'on utilise au moment présent. Cela facilite
+le changement d'algorithme ou la conservation de valeurs par défaut différentes
+des défauts standards.
 
-Seconde méthode : utiliser un fichier de script Python externe
-++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+Troisième méthode : utiliser un fichier de script Python externe
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
-Pour donner les valeurs de la commande "*AlgorithmParameters*" par un fichier de
-script Python externe, l'utilisateur sélectionne dans EFICAS ce type dans le
-mot-clé "*FROM*", comme montré dans la figure qui suit :
+Pour donner les valeurs des paramètres par un fichier de script Python externe,
+l'utilisateur sélectionne dans EFICAS le type "*Dict*" dans le mot-clé
+"*Parameters*", puis le type "*Script*" dans le mot-clé "*FROM*" de la commande
+"*Dict*" qui apparaît, comme montré dans la figure qui suit :
 
   .. :adao_algopar_script
   .. image:: images/adao_algopar_script.png
@@ -83,4 +119,6 @@ Ce fichier script Python externe doit d
         "StoreSupplementaryCalculations" : ["APosterioriCovariance","OMA"],
         }
 
-Le fichier peut aussi contenir d'autres commandes Python.
+Le fichier peut aussi contenir d'autres commandes Python. Cette méthode permet
+aussi, comme la précédente, de conserver des options ou des paramètres pour
+d'autres algorithmes que celui que l'on utilise.
index 7565fbea05681e018ea158e35082eb24b5f27d82..1f7e64ac284d662c3ed9bb3e464cb8c44b4ba854 100644 (file)
@@ -152,7 +152,7 @@ et/ou que si elles ont 
 On rappelle que l'utilisateur peut réclamer des informations supplémentaires
 lors de l'établissement de son cas ADAO, en utilisant la commande optionnelle
 "*AlgorithmParameters*" du cas ADAO. On se reportera Ã  la
-:ref:`section_ref_options_AlgorithmParameters` pour le bon usage de cette
+:ref:`section_ref_options_Algorithm_Parameters` pour le bon usage de cette
 commande, et Ã  la description de chaque algorithme pour les informations
 disponibles par algorithme. On peut aussi demander Ã  conserver certaines
 informations en entrée en changeant le booléen "*Stored*" qui lui est associé
index 1c4cbf89c1c06ba8d4343d5dfa8c9ba0effc1c4e..a93e5e2b51bc66d55f42ceaff890f744bc329efc 100644 (file)
@@ -124,8 +124,8 @@ commandes ou les mots-cl
 Ãªtre supprimé. Des mots-clés optionnels peuvent Ãªtre ajoutés en les choisissant
 dans une liste de suggestions de ceux autorisés pour la commande principale, par
 exemple la commande "*ASSIMILATION_STUDY*". Ã€ titre d'exemple, on peut ajouter
-un mot-clé "*AlgorithmParameters*", comme décrit dans la dernière partie de la
-section :ref:`section_examples`.
+des paramètres dans le mot-clé "*AlgorithmParameters*", comme décrit dans la
+dernière partie de la section :ref:`section_examples`.
 
 A la fin de ces actions, lorsque tous les champs ou les mots-clés ont Ã©té
 correctement définis, chaque ligne de l'arborescence des commandes doit
index 26c4d74413842fd68315af7ce05a51eaef30019f..e2db6ef12633f8922a546efef163c1118768d24a 100644 (file)
@@ -1,7 +1,7 @@
 
 ASSIMILATION_STUDY(StudyName='Test',
                    Debug=0,
-                   AlgorithmChoices=_F(Algorithm='Blue',),
+                   AlgorithmParameters=_F(Algorithm='Blue',),
                    Background=_F(Stored=0,
                                  INPUT_TYPE='Vector',
                                  data=_F(FROM='String',
@@ -29,4 +29,4 @@ ASSIMILATION_STUDY(StudyName='Test',
 xa=numpy.ravel(ADD.get('Analysis')[-1])
 print 'Analysis:',xa""",),);
 #VERSION_CATALOGUE:V7_6_0:FIN VERSION_CATALOGUE
-#CHECKSUM:05cc41b743bfb035b9bcc0bba13f31f8  -:FIN CHECKSUM
\ No newline at end of file
+
index 407d76eee19790606b0bc2b6ff1b81fb99e3b8da..8ded8cacc83925e880c9ec970c953ada3026b698 100644 (file)
@@ -1,7 +1,7 @@
 
 ASSIMILATION_STUDY(StudyName='Test',
                    Debug=0,
-                   AlgorithmChoices=_F(Algorithm='3DVAR',),
+                   AlgorithmParameters=_F(Algorithm='3DVAR',),
                    Background=_F(Stored=0,
                                  INPUT_TYPE='Vector',
                                  data=_F(FROM='String',
@@ -29,4 +29,4 @@ ASSIMILATION_STUDY(StudyName='Test',
 xa=numpy.ravel(ADD.get('Analysis')[-1])
 print 'Analysis:',xa""",),);
 #VERSION_CATALOGUE:V7_6_0:FIN VERSION_CATALOGUE
-#CHECKSUM:58b5740b60d070b936a5b8952002fa5b  -:FIN CHECKSUM
\ No newline at end of file
+
index 744b8786eaa0e6560521fcd6e2e540296629ffe5..5f5bc0b9a5cc028818679d3ba8856eea9ff08a9f 100644 (file)
@@ -1,7 +1,7 @@
 
 ASSIMILATION_STUDY(StudyName='Test',
                    StudyRepertory='@prefix@/share/salome/adao_examples/daSalome',
-                   AlgorithmChoices=_F(Algorithm='3DVAR',),
+                   AlgorithmParameters=_F(Algorithm='3DVAR',),
                    Background=_F(Stored=0,
                                  INPUT_TYPE='Vector',
                                  data=_F(FROM='Script',
index b0f3868bb25b908567ce38ecdeb486d9a3486be3..2dc3ce7a5e5b0e0f1ffdd48afff3a73b0096a4ca 100644 (file)
@@ -1,7 +1,7 @@
 
 ASSIMILATION_STUDY(StudyName='Test',
                    StudyRepertory='@prefix@/share/salome/adao_examples/daSalome',
-                   AlgorithmChoices=_F(Algorithm='3DVAR',),
+                   AlgorithmParameters=_F(Algorithm='3DVAR',),
                    Background=_F(Stored=0,
                                  INPUT_TYPE='Vector',
                                  data=_F(FROM='Script',
index 35a6febae28d21a82d18483547691af2163dacd5..d29e26ab613fa6a13985cd5c7f0560256631cb1b 100644 (file)
@@ -1,7 +1,7 @@
 
 ASSIMILATION_STUDY(StudyName='Test',
                    StudyRepertory='@prefix@/share/salome/adao_examples/daSalome',
-                   AlgorithmChoices=_F(Algorithm='Blue',),
+                   AlgorithmParameters=_F(Algorithm='Blue',),
                    Background=_F(Stored=0,
                                  INPUT_TYPE='Vector',
                                  data=_F(FROM='Script',
index d2f71c68bbbc26d5289be7ad611a948c81e148d6..a2985ed9645d152aad2a822e44b36a9941b327d7 100644 (file)
@@ -1,7 +1,7 @@
 
 ASSIMILATION_STUDY(StudyName='Test',
                    StudyRepertory='@prefix@/share/salome/adao_examples/daSalome',
-                   AlgorithmChoices=_F(Algorithm='3DVAR',),
+                   AlgorithmParameters=_F(Algorithm='3DVAR',),
                    Background=_F(Stored=0,
                                  INPUT_TYPE='Vector',
                                  data=_F(FROM='String',
index 62df329d2dae12794ad378635748e19a8d4e2642..6b18f69d69db0a654d2ed93d91c71e2c615dcc51 100644 (file)
@@ -1,10 +1,10 @@
 
 ASSIMILATION_STUDY(StudyName='test_observers',
                    StudyRepertory='@prefix@/share/salome/adao_examples/daSalome',
-                   AlgorithmChoices=_F(Algorithm='3DVAR',
-                                       Parameters='Dict',
-                                       data=_F(FROM='Script',
-                                               SCRIPT_FILE='test006_Observers_var.py',),),
+                   AlgorithmParameters=_F(Algorithm='3DVAR',
+                                          Parameters='Dict',
+                                          data=_F(FROM='Script',
+                                                  SCRIPT_FILE='test006_Observers_var.py',),),
                    Background=_F(Stored=0,
                                  INPUT_TYPE='Vector',
                                  data=_F(FROM='Script',
@@ -23,10 +23,12 @@ ASSIMILATION_STUDY(StudyName='test_observers',
                                                SCRIPT_FILE='test006_Observers_var.py',),),
                    ObservationOperator=_F(Stored=0,
                                           INPUT_TYPE='Function',
-                                          data=_F(FROM='FunctionDict',
-                                                  FUNCTIONDICT_FILE='test006_Observers_Observation_Operator.py',),),
+                                          data=_F(FROM='ScriptWithSwitch',
+                                                  SCRIPTWITHSWITCH_FILE='test006_Observers_Observation_Operator.py',),),
                    UserDataInit=_F(INIT_FILE='test006_Observers_init.py',
-                                   TARGET_LIST=('Background','BackgroundError','Observation','ObservationError',),),
+                                   TARGET_LIST=
+                                   ('Background','BackgroundError','Observation',
+                                                 'ObservationError','AlgorithmParameters',),),
                    UserPostAnalysis=_F(FROM='Template',
                                        Template='AnalysisPrinter',
                                        ValueTemplate=
index 16b717e6f27c738f6d7d51738ca1f23c8f849e10..6886326e45b33d5fade2113d2823bf769a3d0319 100644 (file)
@@ -33,16 +33,16 @@ ObservationError_config['From'] = 'Script'
 ObservationError_config['Data'] = 'test006_Observers_var.py'
 ObservationError_config['Stored'] = '0'
 study_config['ObservationError'] = ObservationError_config
-ObservationOperator_FunctionDict = {}
-ObservationOperator_FunctionDict['Function'] = ['Direct', 'Tangent', 'Adjoint']
-ObservationOperator_FunctionDict['Script'] = {}
-ObservationOperator_FunctionDict['Script']['Direct'] = 'test006_Observers_Observation_Operator.py'
-ObservationOperator_FunctionDict['Script']['Tangent'] = 'test006_Observers_Observation_Operator.py'
-ObservationOperator_FunctionDict['Script']['Adjoint'] = 'test006_Observers_Observation_Operator.py'
+ObservationOperator_ScriptWithSwitch = {}
+ObservationOperator_ScriptWithSwitch['Function'] = ['Direct', 'Tangent', 'Adjoint']
+ObservationOperator_ScriptWithSwitch['Script'] = {}
+ObservationOperator_ScriptWithSwitch['Script']['Direct'] = 'test006_Observers_Observation_Operator.py'
+ObservationOperator_ScriptWithSwitch['Script']['Tangent'] = 'test006_Observers_Observation_Operator.py'
+ObservationOperator_ScriptWithSwitch['Script']['Adjoint'] = 'test006_Observers_Observation_Operator.py'
 ObservationOperator_config = {}
 ObservationOperator_config['Type'] = 'Function'
-ObservationOperator_config['From'] = 'FunctionDict'
-ObservationOperator_config['Data'] = ObservationOperator_FunctionDict
+ObservationOperator_config['From'] = 'ScriptWithSwitch'
+ObservationOperator_config['Data'] = ObservationOperator_ScriptWithSwitch
 study_config['ObservationOperator'] = ObservationOperator_config
 inputvariables_config = {}
 inputvariables_config['Order'] =['adao_default']
@@ -63,7 +63,7 @@ Init_config = {}
 Init_config['Type'] = 'Dict'
 Init_config['From'] = 'Script'
 Init_config['Data'] = 'test006_Observers_init.py'
-Init_config['Target'] = ['Background','BackgroundError','Observation','ObservationError',]
+Init_config['Target'] = ['Background','BackgroundError','Observation','ObservationError','AlgorithmParameters',]
 study_config['UserDataInit'] = Init_config
 observers = {}
 observers["CostFunctionJ"] = {}
index cef9bdfdfc5e988d7e32dfc2d4c89ab91bc2dc91..71142d86151506cb8187ac2a2aed45ac721977d8 100644 (file)
@@ -1,6 +1,6 @@
 
 CHECKING_STUDY(StudyName='Elementary gradient test',
-               AlgorithmChoices=_F(Algorithm='GradientTest',
+               AlgorithmParameters=_F(Algorithm='GradientTest',
                                    Parameters='Dict',
                                    data=_F(FROM='String',
                                            STRING='{ "SetSeed" : 1000 }',),),
@@ -13,4 +13,4 @@ CHECKING_STUDY(StudyName='Elementary gradient test',
                                       data=_F(FROM='String',
                                               STRING='1 0 0 ; 0 1 0 ; 0 0 1',),),);
 #VERSION_CATALOGUE:V7_6_0:FIN VERSION_CATALOGUE
-#CHECKSUM:1b2edbf93b6252687f4a9dc33dc25dc0  -:FIN CHECKSUM
\ No newline at end of file
+
index e1746e5059ff82b809622eaf342d68f53d2b880b..eebe77c7635b0105d41ec415816ce659f5366dbd 100644 (file)
@@ -1,6 +1,6 @@
 
 CHECKING_STUDY(StudyName='Test',
-               AlgorithmChoices=_F(Algorithm='GradientTest',
+               AlgorithmParameters=_F(Algorithm='GradientTest',
                                    Parameters='Dict',
                                    data=_F(FROM='String',
                                            STRING='{ "SetSeed" : 1000 }',),),
@@ -13,4 +13,4 @@ CHECKING_STUDY(StudyName='Test',
                                       data=_F(FROM='String',
                                               STRING='1 0 0 ; 0 1 0 ; 0 0 1 ; 1 0 0 ; 0 1 0 ; 0 0 1',),),);
 #VERSION_CATALOGUE:V7_6_0:FIN VERSION_CATALOGUE
-#CHECKSUM:102c824e97113ec0e22b72312a5fc0d0  -:FIN CHECKSUM
\ No newline at end of file
+
index 35415c27c9343712697f448e8cd6c6c9b522cc02..c8eda9338cf9c421f677f74049f15436e0239b27 100644 (file)
@@ -1,6 +1,6 @@
 
 CHECKING_STUDY(StudyName='Test',
-               AlgorithmChoices=_F(Algorithm='AdjointTest',
+               AlgorithmParameters=_F(Algorithm='AdjointTest',
                                    Parameters='Dict',
                                    data=_F(FROM='String',
                                            STRING='{ "SetSeed" : 1000 }',),),
@@ -13,4 +13,4 @@ CHECKING_STUDY(StudyName='Test',
                                       data=_F(FROM='String',
                                               STRING='1 0 0 ; 0 1 0 ; 0 0 1 ; 1 0 0 ; 0 1 0 ; 0 0 1',),),);
 #VERSION_CATALOGUE:V7_6_0:FIN VERSION_CATALOGUE
-#CHECKSUM:4aeff874ab3d45fc7f39ed6798e33b13  -:FIN CHECKSUM
\ No newline at end of file
+
index 0a321bd78841da85d48d1e35be4025c023471606..ef5e48e232b6d721c25607021d1e2a0066b91351 100644 (file)
@@ -113,9 +113,9 @@ class AdaoGenerator(PythonGenerator):
       self.text_da += "study_config['Debug'] = '0'\n"
 
     # Extraction de Algorithm et de ses parametres
-    if "__"+self.type_of_study+"__AlgorithmChoices__Algorithm" in self.dictMCVal.keys():
-      self.text_da += "study_config['Algorithm'] = '" + self.dictMCVal["__"+self.type_of_study+"__AlgorithmChoices__Algorithm"] + "'\n"
-      self.add_AlgorithmChoices()
+    if "__"+self.type_of_study+"__AlgorithmParameters__Algorithm" in self.dictMCVal.keys():
+      self.text_da += "study_config['Algorithm'] = '" + self.dictMCVal["__"+self.type_of_study+"__AlgorithmParameters__Algorithm"] + "'\n"
+      self.add_AlgorithmParameters()
     elif "__"+self.type_of_study+"__Algorithm" in self.dictMCVal.keys():
       self.text_da += "study_config['Algorithm'] = '" + self.dictMCVal["__"+self.type_of_study+"__Algorithm"] + "'\n"
 
@@ -144,9 +144,6 @@ class AdaoGenerator(PythonGenerator):
     # Extraction du StudyRepertory
     if "__"+self.type_of_study+"__StudyRepertory" in self.dictMCVal.keys():
       self.text_da += "study_config['Repertory'] = '" + self.dictMCVal["__"+self.type_of_study+"__StudyRepertory"] + "'\n"
-    # Extraction de AlgorithmParameters
-    if "__"+self.type_of_study+"__AlgorithmParameters__INPUT_TYPE" in self.dictMCVal.keys():
-      self.add_algorithm_parameters()
     # Extraction de UserPostAnalysis
     if "__"+self.type_of_study+"__UserPostAnalysis__FROM" in self.dictMCVal.keys():
       self.add_UserPostAnalysis()
@@ -243,28 +240,6 @@ class AdaoGenerator(PythonGenerator):
       self.text_da += data_name + "_config['Data'] = " + data_name + "_FunctionDict\n"
       self.text_da += "study_config['" + data_name + "'] = " + data_name + "_config\n"
 
-  def add_algorithm_parameters(self):
-
-    data_name = "AlgorithmParameters"
-    data_type = "Dict"
-    from_type = self.dictMCVal["__"+self.type_of_study+"__AlgorithmParameters__Dict__data__FROM"]
-    
-    if from_type == "Script":
-      data = self.dictMCVal["__"+self.type_of_study+"__AlgorithmParameters__Dict__data__SCRIPT_DATA__SCRIPT_FILE"]
-      self.text_da += data_name + "_config = {} \n"
-      self.text_da += data_name + "_config['Type'] = '" + data_type + "'\n"
-      self.text_da += data_name + "_config['From'] = '" + from_type + "'\n"
-      self.text_da += data_name + "_config['Data'] = '" + data + "'\n"
-      self.text_da += "study_config['" + data_name + "'] = " + data_name + "_config\n"
-    
-    if from_type == "String":
-      data = self.dictMCVal["__"+self.type_of_study+"__AlgorithmParameters__Dict__data__STRING_DATA__STRING"]
-      self.text_da += data_name + "_config = {} \n"
-      self.text_da += data_name + "_config['Type'] = '" + data_type + "'\n"
-      self.text_da += data_name + "_config['From'] = '" + from_type + "'\n"
-      self.text_da += data_name + "_config['Data'] = '" + data + "'\n"
-      self.text_da += "study_config['" + data_name + "'] = " + data_name + "_config\n"
-
   def add_init(self):
 
       init_file_data = self.dictMCVal["__"+self.type_of_study+"__UserDataInit__INIT_FILE"]
@@ -309,34 +284,34 @@ class AdaoGenerator(PythonGenerator):
     else:
       raise Exception('From Type unknown', from_type)
 
-  def add_AlgorithmChoices(self):
+  def add_AlgorithmParameters(self):
 
-    if not self.dictMCVal.has_key("__"+self.type_of_study+"__AlgorithmChoices__Parameters"): return
+    if not self.dictMCVal.has_key("__"+self.type_of_study+"__AlgorithmParameters__Parameters"): return
 
     data_name = "AlgorithmParameters"
     data_type = "Dict"
-    para_type = self.dictMCVal["__"+self.type_of_study+"__AlgorithmChoices__Parameters"]
+    para_type = self.dictMCVal["__"+self.type_of_study+"__AlgorithmParameters__Parameters"]
     if para_type == "Defaults":
         from_type = para_type
     elif para_type == "Dict":
-        from_type = self.dictMCVal["__"+self.type_of_study+"__AlgorithmChoices__Dict__data__FROM"]
+        from_type = self.dictMCVal["__"+self.type_of_study+"__AlgorithmParameters__Dict__data__FROM"]
 
     if from_type == "Script":
-      data = self.dictMCVal["__"+self.type_of_study+"__AlgorithmChoices__Dict__data__SCRIPT_DATA__SCRIPT_FILE"]
+      data = self.dictMCVal["__"+self.type_of_study+"__AlgorithmParameters__Dict__data__SCRIPT_DATA__SCRIPT_FILE"]
       self.text_da += data_name + "_config = {} \n"
       self.text_da += data_name + "_config['Type'] = '" + data_type + "'\n"
       self.text_da += data_name + "_config['From'] = '" + from_type + "'\n"
       self.text_da += data_name + "_config['Data'] = '" + data + "'\n"
       self.text_da += "study_config['" + data_name + "'] = " + data_name + "_config\n"
     elif from_type == "String":
-      data = self.dictMCVal["__"+self.type_of_study+"__AlgorithmChoices__Dict__data__STRING_DATA__STRING"]
+      data = self.dictMCVal["__"+self.type_of_study+"__AlgorithmParameters__Dict__data__STRING_DATA__STRING"]
       self.text_da += data_name + "_config = {} \n"
       self.text_da += data_name + "_config['Type'] = '" + data_type + "'\n"
       self.text_da += data_name + "_config['From'] = '" + from_type + "'\n"
       self.text_da += data_name + "_config['Data'] = '" + data + "'\n"
       self.text_da += "study_config['" + data_name + "'] = " + data_name + "_config\n"
     elif from_type == "Defaults":
-      base = "__"+self.type_of_study+"__AlgorithmChoices__Parameters"
+      base = "__"+self.type_of_study+"__AlgorithmParameters__Parameters"
       keys = [k for k in self.dictMCVal.keys() if base in k]
       keys.remove(base)
       keys = [k.replace(base,'') for k in keys]
index 1c8813910642f962fdeeaa9d31ac789212fdfad0..aab742ea5c1d3148f5ab788d152d38d75871c1d4 100644 (file)
@@ -70,13 +70,12 @@ def traduc(infile=None,outfile=None,texte=None,flog=None):
     # ==========================================================================
 
     for command in atraiter:
-        # Renomme le MC ou en insere un nouveau s'il n'existe pas ensuite
-        renameMotCle(jdc, command, "AlgorithmParameters", "AlgorithmChoices")
-        chercheOperInsereFacteurSiRegle(jdc, command, "AlgorithmChoices",((("AlgorithmChoices",),"nexistepasMCFParmi"),))
+        # Insere le MC s'il n'existe pas
+        chercheOperInsereFacteurSiRegle(jdc, command, "AlgorithmParameters",((("AlgorithmParameters",),"nexistepasMCFParmi"),))
         # Deplace le MC
-        moveMotClefInOperToFact(jdc, command, "Algorithm", "AlgorithmChoices")
+        moveMotClefInOperToFact(jdc, command, "Algorithm", "AlgorithmParameters")
         # Renomme le MC
-        renameMotCleInFact(jdc, command, "AlgorithmChoices", "INPUT_TYPE", "Parameters")
+        renameMotCleInFact(jdc, command, "AlgorithmParameters", "INPUT_TYPE", "Parameters")
         # Renomme le MC
         renameMotCle(jdc, command, "Study_name", "StudyName")
         renameMotCle(jdc, command, "Study_repertory", "StudyRepertory")
index 1c8813910642f962fdeeaa9d31ac789212fdfad0..aab742ea5c1d3148f5ab788d152d38d75871c1d4 100644 (file)
@@ -70,13 +70,12 @@ def traduc(infile=None,outfile=None,texte=None,flog=None):
     # ==========================================================================
 
     for command in atraiter:
-        # Renomme le MC ou en insere un nouveau s'il n'existe pas ensuite
-        renameMotCle(jdc, command, "AlgorithmParameters", "AlgorithmChoices")
-        chercheOperInsereFacteurSiRegle(jdc, command, "AlgorithmChoices",((("AlgorithmChoices",),"nexistepasMCFParmi"),))
+        # Insere le MC s'il n'existe pas
+        chercheOperInsereFacteurSiRegle(jdc, command, "AlgorithmParameters",((("AlgorithmParameters",),"nexistepasMCFParmi"),))
         # Deplace le MC
-        moveMotClefInOperToFact(jdc, command, "Algorithm", "AlgorithmChoices")
+        moveMotClefInOperToFact(jdc, command, "Algorithm", "AlgorithmParameters")
         # Renomme le MC
-        renameMotCleInFact(jdc, command, "AlgorithmChoices", "INPUT_TYPE", "Parameters")
+        renameMotCleInFact(jdc, command, "AlgorithmParameters", "INPUT_TYPE", "Parameters")
         # Renomme le MC
         renameMotCle(jdc, command, "Study_name", "StudyName")
         renameMotCle(jdc, command, "Study_repertory", "StudyRepertory")
index 1c8813910642f962fdeeaa9d31ac789212fdfad0..aab742ea5c1d3148f5ab788d152d38d75871c1d4 100644 (file)
@@ -70,13 +70,12 @@ def traduc(infile=None,outfile=None,texte=None,flog=None):
     # ==========================================================================
 
     for command in atraiter:
-        # Renomme le MC ou en insere un nouveau s'il n'existe pas ensuite
-        renameMotCle(jdc, command, "AlgorithmParameters", "AlgorithmChoices")
-        chercheOperInsereFacteurSiRegle(jdc, command, "AlgorithmChoices",((("AlgorithmChoices",),"nexistepasMCFParmi"),))
+        # Insere le MC s'il n'existe pas
+        chercheOperInsereFacteurSiRegle(jdc, command, "AlgorithmParameters",((("AlgorithmParameters",),"nexistepasMCFParmi"),))
         # Deplace le MC
-        moveMotClefInOperToFact(jdc, command, "Algorithm", "AlgorithmChoices")
+        moveMotClefInOperToFact(jdc, command, "Algorithm", "AlgorithmParameters")
         # Renomme le MC
-        renameMotCleInFact(jdc, command, "AlgorithmChoices", "INPUT_TYPE", "Parameters")
+        renameMotCleInFact(jdc, command, "AlgorithmParameters", "INPUT_TYPE", "Parameters")
         # Renomme le MC
         renameMotCle(jdc, command, "Study_name", "StudyName")
         renameMotCle(jdc, command, "Study_repertory", "StudyRepertory")