From: Jean-Philippe ARGAUD Date: Thu, 3 May 2012 10:11:50 +0000 (+0200) Subject: Correcting Tangent function call in example/skeleton/doc X-Git-Tag: V6_5_0~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b2eb099ba6cc40680fcd9a5e52644eb44f861955;p=modules%2Fadao.git Correcting Tangent function call in example/skeleton/doc --- diff --git a/doc/examples.rst b/doc/examples.rst index a79705c..0210cbf 100644 --- a/doc/examples.rst +++ b/doc/examples.rst @@ -557,7 +557,7 @@ The following example Python script file named if method == "Tangent": logging.info("ComputationFunctionNode: Tangent computation") Xcurrent = computation["inputValues"][0][0][0] - data = FunctionH(numpy.matrix( Xcurrent ).T) + data = TangentH(numpy.matrix( Xcurrent ).T) # if method == "Adjoint": logging.info("ComputationFunctionNode: Adjoint computation") diff --git a/examples/daSkeletons/External_data_definition_by_scripts/Script_Background_xb.py b/examples/daSkeletons/External_data_definition_by_scripts/Script_Background_xb.py index 90d992a..0c7b603 100644 --- a/examples/daSkeletons/External_data_definition_by_scripts/Script_Background_xb.py +++ b/examples/daSkeletons/External_data_definition_by_scripts/Script_Background_xb.py @@ -33,6 +33,7 @@ __author__ = "Jean-Philippe ARGAUD" import sys, os ; sys.path.insert(0,os.path.dirname(os.path.abspath(__file__))) from Physical_data_and_covariance_matrices import True_state import numpy +numpy.random.seed(1000) # xt, names = True_state() # diff --git a/examples/daSkeletons/External_data_definition_by_scripts/Script_ObservationOperator_H.py b/examples/daSkeletons/External_data_definition_by_scripts/Script_ObservationOperator_H.py index 2816eb2..da41747 100644 --- a/examples/daSkeletons/External_data_definition_by_scripts/Script_ObservationOperator_H.py +++ b/examples/daSkeletons/External_data_definition_by_scripts/Script_ObservationOperator_H.py @@ -66,7 +66,7 @@ if method == "Direct": if method == "Tangent": logging.info("ComputationFunctionNode: Tangent computation") Xcurrent = computation["inputValues"][0][0][0] - data = FunctionH(numpy.matrix( Xcurrent ).T) + data = TangentH(numpy.matrix( Xcurrent ).T) # if method == "Adjoint": logging.info("ComputationFunctionNode: Adjoint computation")