Skip to content

Commit

Permalink
ADD ert.Modelling aliasing ERTModelling
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Günther committed Dec 18, 2023
1 parent 03ccc3b commit 860c95a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions pygimli/physics/ert/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,5 @@ def createERTData(*args, **kwargs):
# Module prototypes
DataContainer = pg.core.DataContainerERT
Manager = ERTManager
Modelling = ERTModelling
coverageERT = pg.core.coverageDCtrans
4 changes: 2 additions & 2 deletions pygimli/physics/ert/ertModelling.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class ERTModelling(ERTModellingBase):
"""

def __init__(self, sr=True, verbose=False):
super(ERTModelling, self).__init__()
super().__init__()

# don't use DC*fop or its regionmanager directly
#
Expand Down Expand Up @@ -176,7 +176,7 @@ def response(self, mod):
mod = self.flipImagPart(mod)

resp = self._core.response(mod)

if self.complex() and self._conjImag:
pg.warn('backflip imaginary part after response calc')
resp = self.flipImagPart(resp)
Expand Down

0 comments on commit 860c95a

Please sign in to comment.