Salome HOME
Minor correction for raised error messages
[modules/adao.git] / examples / daSalome / test004_ADAO_scripts_for_JDC.py
1 #-*-coding:iso-8859-1-*-
2 #
3 # Copyright (C) 2008-2017 EDF R&D
4 #
5 # This library is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU Lesser General Public
7 # License as published by the Free Software Foundation; either
8 # version 2.1 of the License.
9 #
10 # This library is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 # Lesser General Public License for more details.
14 #
15 # You should have received a copy of the GNU Lesser General Public
16 # License along with this library; if not, write to the Free Software
17 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
18 #
19 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 #
21 # Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
22
23 import numpy
24 #
25 n = 100
26 #
27 # Definition of the Background as a vector
28 # ----------------------------------------
29 Background = n * [0]
30 #
31 # Definition of the Observation as a vector
32 # -----------------------------------------
33 Observation = n * "1 "
34 Observation = Observation.strip()
35 #
36 # Definition of the Background Error covariance as a matrix
37 # ---------------------------------------------------------
38 BackgroundError = numpy.identity(n)
39 #
40 # Definition of the Observation Error covariance as a matrix
41 # ----------------------------------------------------------
42 ObservationError = numpy.identity(n)
43 #
44 # Definition of the Observation Operator as a matrix
45 # --------------------------------------------------
46 ObservationOperator = numpy.identity(n)