Salome HOME
projects
/
modules
/
adao.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Nouvelle version de Jean-Philippe ARGAUD
[modules/adao.git]
/
src
/
daComposant
/
daDiagnostics
/
ComputeVariance.py
diff --git
a/src/daComposant/daDiagnostics/ComputeVariance.py
b/src/daComposant/daDiagnostics/ComputeVariance.py
index 22ae8e604ffb23c88955d0e2abdcf7e05433b03d..fefe24c8461c31709c20c4068c115e269bdefc16 100644
(file)
--- a/
src/daComposant/daDiagnostics/ComputeVariance.py
+++ b/
src/daComposant/daDiagnostics/ComputeVariance.py
@@
-1,6
+1,6
@@
#-*-coding:iso-8859-1-*-
#
#-*-coding:iso-8859-1-*-
#
-# Copyright (C) 2008-20
09
EDF R&D
+# Copyright (C) 2008-20
10
EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@
-25,17
+25,13
@@
__doc__ = """
"""
__author__ = "Jean-Philippe ARGAUD - Septembre 2008"
"""
__author__ = "Jean-Philippe ARGAUD - Septembre 2008"
-import sys ; sys.path.insert(0, "../daCore")
-
import numpy
import numpy
-import Persistence
-from BasicObjects import Diagnostic
-from AssimilationStudy import AssimilationStudy
+from daCore import BasicObjects, Persistence
# ==============================================================================
# ==============================================================================
-class ElementaryDiagnostic(Diagnostic,Persistence.OneScalar):
+class ElementaryDiagnostic(
BasicObjects.
Diagnostic,Persistence.OneScalar):
def __init__(self, name = "", unit = "", basetype = None, parameters = {}):
def __init__(self, name = "", unit = "", basetype = None, parameters = {}):
- Diagnostic.__init__(self, name, parameters)
+
BasicObjects.
Diagnostic.__init__(self, name, parameters)
Persistence.OneScalar.__init__( self, name, unit, basetype = float)
def _formula(self, V):
Persistence.OneScalar.__init__( self, name, unit, basetype = float)
def _formula(self, V):