From: Jean-Philippe ARGAUD Date: Fri, 10 Sep 2021 05:46:48 +0000 (+0200) Subject: Minor documentation review corrections (6) X-Git-Tag: V9_8_0a1~15 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=dc39aa3db9de38f52a68299e97b2ed35c0ed1c16;p=modules%2Fadao.git Minor documentation review corrections (6) --- diff --git a/doc/en/snippets/PrintAllValuesFor.rst b/doc/en/snippets/PrintAllValuesFor.rst index 34d431b..c8d99ea 100644 --- a/doc/en/snippets/PrintAllValuesFor.rst +++ b/doc/en/snippets/PrintAllValuesFor.rst @@ -10,5 +10,5 @@ PrintAllValuesFor "Observation", ]. - Exemple : + Example : ``{"PrintAllValuesFor":["Background"]}`` diff --git a/doc/en/snippets/ShowInformationOnlyFor.rst b/doc/en/snippets/ShowInformationOnlyFor.rst index d4fca85..280252e 100644 --- a/doc/en/snippets/ShowInformationOnlyFor.rst +++ b/doc/en/snippets/ShowInformationOnlyFor.rst @@ -11,5 +11,5 @@ ShowInformationOnlyFor "Observation", ]. - Exemple : + Example : ``{"ShowInformationOnlyFor":["Background"]}`` diff --git a/doc/en/snippets/StateBoundsForQuantilesWithNone.rst b/doc/en/snippets/StateBoundsForQuantilesWithNone.rst index 9369825..fcb48f1 100644 --- a/doc/en/snippets/StateBoundsForQuantilesWithNone.rst +++ b/doc/en/snippets/StateBoundsForQuantilesWithNone.rst @@ -13,5 +13,5 @@ StateBoundsForQuantiles bounds are used for the states used in the quantile simulation regardless of the optimization bounds defined. - Exemple : + Example : ``{"StateBoundsForQuantiles":[[2.,5.],[1.e-2,10.],[-30.,None],[None,None]]}`` diff --git a/doc/en/snippets/Variant_3DVAR.rst b/doc/en/snippets/Variant_3DVAR.rst index 55ae94d..8938687 100644 --- a/doc/en/snippets/Variant_3DVAR.rst +++ b/doc/en/snippets/Variant_3DVAR.rst @@ -15,5 +15,5 @@ Variant "3DVAR-PSAS" (Physical-space Statistical Analysis Scheme for 3DVAR), It is highly recommended to keep the default value. - Exemple : + Example : ``{"Variant":"3DVAR"}`` diff --git a/doc/en/snippets/Variant_EKF.rst b/doc/en/snippets/Variant_EKF.rst index 4cf6547..09f3cd8 100644 --- a/doc/en/snippets/Variant_EKF.rst +++ b/doc/en/snippets/Variant_EKF.rst @@ -10,5 +10,5 @@ Variant "EKF" (Extended Kalman Filter), "CEKF" (Constrained Extended Kalman Filter). - Exemple : + Example : ``{"Variant":"CEKF"}`` diff --git a/src/daComposant/daCore/Interfaces.py b/src/daComposant/daCore/Interfaces.py index 0b6fbf8..725a9c0 100644 --- a/src/daComposant/daCore/Interfaces.py +++ b/src/daComposant/daCore/Interfaces.py @@ -650,7 +650,7 @@ class _ReportViewer(GenericCaseViewer): if k == "self": continue if isinstance(__v,Persistence.Persistence): __v = __v.values() numpy.set_printoptions(precision=15,threshold=1000000,linewidth=1000*15) - __ktext += "\n %s=%s, "%(k,repr(__v)) + __ktext += "\n %s = %s, "%(k,repr(__v)) numpy.set_printoptions(precision=8,threshold=1000,linewidth=75) if len(__ktext) > 0: __text += " with values:" + __ktext diff --git a/src/daComposant/daCore/NumericObjects.py b/src/daComposant/daCore/NumericObjects.py index c9193bf..ebd3d35 100644 --- a/src/daComposant/daCore/NumericObjects.py +++ b/src/daComposant/daCore/NumericObjects.py @@ -723,6 +723,7 @@ def ForceNumericBounds( __Bounds ): # ============================================================================== def RecentredBounds( __Bounds, __Center): + "Recentre les bornes autour de 0, sauf si globalement None" # Conserve une valeur par défaut à None s'il n'y a pas de bornes if __Bounds is None: return None # Recentre les valeurs numériques de bornes @@ -3659,7 +3660,7 @@ def stdkf(selfA, Xb, Y, U, HO, EM, CM, R, B, Q): # ============================================================================== def uckf(selfA, Xb, Y, U, HO, EM, CM, R, B, Q): """ - Unscented Kalman Filter + Constrained Unscented Kalman Filter """ if selfA._parameters["EstimationOf"] == "Parameters": selfA._parameters["StoreInternalVariables"] = True