From cfc921b66715c6935813fece4d631d6516afee3b Mon Sep 17 00:00:00 2001 From: Lindsey Heagy Date: Sat, 28 Nov 2015 13:12:44 -0800 Subject: [PATCH] cleaned out transform, inverse and deriv (all are inherited from IdentityMap) --- SimPEG/Maps.py | 42 ------------------------------------------ 1 file changed, 42 deletions(-) diff --git a/SimPEG/Maps.py b/SimPEG/Maps.py index 7c46fa1d..d36deed4 100644 --- a/SimPEG/Maps.py +++ b/SimPEG/Maps.py @@ -148,48 +148,6 @@ class IdentityMap_Meshless(IdentityMap): return (self.nP, self.nP) - def _transform(self, m): - """ - Changes the model into the physical property. - - .. note:: - - This can be called by the __mul__ property against a numpy.ndarray. - - :param numpy.array m: model - :rtype: numpy.array - :return: transformed model - - """ - return m - - def inverse(self, D): - """ - Changes the physical property into the model. - - .. note:: - - The *transformInverse* may not be easy to create in general. - - :param numpy.array D: physical property - :rtype: numpy.array - :return: model - - """ - raise NotImplementedError('The transformInverse is not implemented.') - - def deriv(self, m): - """ - The derivative of the transformation. - - :param numpy.array m: model - :rtype: scipy.csr_matrix - :return: derivative of transformed model - - """ - return sp.identity(self.nP) - - class ComboMap(IdentityMap): """Combination of various maps."""