diff --git a/pygimli/physics/ert/__init__.py b/pygimli/physics/ert/__init__.py index 13d33434b..3994ca1fd 100644 --- a/pygimli/physics/ert/__init__.py +++ b/pygimli/physics/ert/__init__.py @@ -47,4 +47,5 @@ def createERTData(*args, **kwargs): # Module prototypes DataContainer = pg.core.DataContainerERT Manager = ERTManager +Modelling = ERTModelling coverageERT = pg.core.coverageDCtrans diff --git a/pygimli/physics/ert/ertModelling.py b/pygimli/physics/ert/ertModelling.py index 09b03c7d9..b365f185c 100644 --- a/pygimli/physics/ert/ertModelling.py +++ b/pygimli/physics/ert/ertModelling.py @@ -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 # @@ -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)