Salome HOME
Adding multi-functions input capabilities (2)
[modules/adao.git] / doc / en / ref_algorithm_LinearityTest.rst
index 788519aac6c1691314c11a3826632f0004a44385..3731913740a429c7bcbd8f9fb5c14f2d0244b239 100644 (file)
@@ -1,5 +1,5 @@
 ..
-   Copyright (C) 2008-2017 EDF R&D
+   Copyright (C) 2008-2018 EDF R&D
 
    This file is part of SALOME ADAO module.
 
@@ -112,34 +112,12 @@ 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
-.. index:: single: EpsilonMinimumExponent
-.. index:: single: InitialDirection
-.. index:: single: ResiduFormula
-.. index:: single: SetSeed
-.. index:: single: StoreSupplementaryCalculations
-
 The general required commands, available in the editing user interface, are the
 following:
 
-  CheckingPoint
-    *Required command*. This indicates the vector used as the state around which
-    to perform the required check, noted :math:`\mathbf{x}` and similar to the
-    background :math:`\mathbf{x}^b`. It is defined as a "*Vector*" type object.
-
-  ObservationOperator
-    *Required command*. This indicates the observation operator, previously
-    noted :math:`H`, which transforms the input parameters :math:`\mathbf{x}` to
-    results :math:`\mathbf{y}` to be compared to observations
-    :math:`\mathbf{y}^o`. Its value is defined as a "*Function*" type object or
-    a "*Matrix*" type one. In the case of "*Function*" type, different
-    functional forms can be used, as described in the section
-    :ref:`section_ref_operator_requirements`. If there is some control
-    :math:`U` included in the observation, the operator has to be applied to a
-    pair :math:`(X,U)`.
+  .. include:: snippets/CheckingPoint.rst
+
+  .. include:: snippets/ObservationOperator.rst
 
 The general optional commands, available in the editing user interface, are
 indicated in :ref:`section_ref_assimilation_keywords`. Moreover, the parameters
@@ -150,31 +128,17 @@ command.
 
 The options of the algorithm are the following:
 
-  AmplitudeOfInitialDirection
-    This key indicates the scaling of the initial perturbation build as a vector
-    used for the directional derivative around the nominal checking point. The
-    default is 1, that means no scaling.
-
-    Example : ``{"AmplitudeOfInitialDirection":0.5}``
+  .. include:: snippets/AmplitudeOfInitialDirection.rst
 
-  EpsilonMinimumExponent
-    This key indicates the minimal exponent value of the power of 10 coefficient
-    to be used to decrease the increment multiplier. The default is -8, and it
-    has to be between 0 and -20. For example, its default value leads to
-    calculate the residue of the scalar product formula with a fixed increment
-    multiplied from 1.e0 to 1.e-8.
+  .. include:: snippets/EpsilonMinimumExponent.rst
 
-    Example : ``{"EpsilonMinimumExponent":-12}``
+  .. include:: snippets/InitialDirection.rst
 
-  InitialDirection
-    This key indicates the vector direction used for the directional derivative
-    around the nominal checking point. It has to be a vector. If not specified,
-    this direction defaults to a random perturbation around zero of the same
-    vector size than the checking point.
-
-    Example : ``{"InitialDirection":[0.1,0.1,100.,3}``
+  .. include:: snippets/SetSeed.rst
 
   ResiduFormula
+    .. index:: single: ResiduFormula
+
     This key indicates the residue formula that has to be used for the test. The
     default choice is "CenteredDL", and the possible ones are "CenteredDL"
     (residue of the difference between the function at nominal point and the
@@ -186,17 +150,12 @@ The options of the algorithm are the following:
     order 1 approximations of the operator, normalized by RMS to the nominal
     point, which has to stay close to 0).
 
-    Example : ``{"ResiduFormula":"CenteredDL"}``
-
-  SetSeed
-    This key allow to give an integer in order to fix the seed of the random
-    generator used to generate the ensemble. A convenient value is for example
-    1000. By default, the seed is left uninitialized, and so use the default
-    initialization from the computer.
-
-    Example : ``{"SetSeed":1000}``
+    Example :
+    ``{"ResiduFormula":"CenteredDL"}``
 
   StoreSupplementaryCalculations
+    .. index:: single: StoreSupplementaryCalculations
+
     This list indicates the names of the supplementary variables that can be
     available at the end of the algorithm. It involves potentially costly
     calculations or memory consumptions. The default is a void list, none of
@@ -204,7 +163,8 @@ The options of the algorithm are the following:
     are in the following list: ["CurrentState", "Residu",
     "SimulatedObservationAtCurrentState"].
 
-    Example : ``{"StoreSupplementaryCalculations":["CurrentState"]}``
+    Example :
+    ``{"StoreSupplementaryCalculations":["CurrentState"]}``
 
 Information and variables available at the end of the algorithm
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
@@ -219,25 +179,13 @@ writing of post-processing procedures, are described in the
 
 The unconditional outputs of the algorithm are the following:
 
-  Residu
-    *List of values*. Each element is the value of the particular residue
-    verified during a checking algorithm, in the order of the tests.
-
-    Example : ``r = ADD.get("Residu")[:]``
+  .. include:: snippets/Residu.rst
 
 The conditional outputs of the algorithm are the following:
 
-  CurrentState
-    *List of vectors*. Each element is a usual state vector used during the
-    optimization algorithm procedure.
-
-    Example : ``Xs = ADD.get("CurrentState")[:]``
-
-  SimulatedObservationAtCurrentState
-    *List of vectors*. Each element is an observed vector at the current state,
-    that is, in the observation space.
+  .. include:: snippets/CurrentState.rst
 
-    Example : ``hxs = ADD.get("SimulatedObservationAtCurrentState")[-1]``
+  .. include:: snippets/SimulatedObservationAtCurrentState.rst
 
 See also
 ++++++++