From 28e0db4963aa059200998b4250a4245512260370 Mon Sep 17 00:00:00 2001 From: Rowan Cockett Date: Thu, 5 Feb 2015 14:22:20 -0800 Subject: [PATCH] remove anisotropy map --- SimPEG/Maps.py | 30 +++--------------------------- 1 file changed, 3 insertions(+), 27 deletions(-) diff --git a/SimPEG/Maps.py b/SimPEG/Maps.py index e37d435a..0b47de66 100644 --- a/SimPEG/Maps.py +++ b/SimPEG/Maps.py @@ -229,16 +229,16 @@ class LogMap(IdentityMap): ..math:: - p = \\log(m) + p = \\log(m) - and + and ..math:: m = \\exp(p) NOTE: If you have a model which is log conductivity (ie. \\(m = \\log(\\sigma)\\)), - you should be using an ExpMap + you should be using an ExpMap """ @@ -640,27 +640,3 @@ class CircleMap(IdentityMap): g4 = a*(-Y + y)*(-sig1 + sig2)/(np.pi*(a**2*(-r + np.sqrt((X - x)**2 + (Y - y)**2))**2 + 1)*np.sqrt((X - x)**2 + (Y - y)**2)) g5 = -a*(-sig1 + sig2)/(np.pi*(a**2*(-r + np.sqrt((X - x)**2 + (Y - y)**2))**2 + 1)) return np.c_[g1,g2,g3,g4,g5] - -class AnisotropyMap(IdentityMap): - - def __init__(self, mesh, **kwargs): - Utils.setKwargs(self, **kwargs) - self.mesh = mesh - - @property - def nP(self): - """ - :rtype: int - :return: number of parameters in the model - """ - return self.mesh.nC*2 - - @property - def shape(self): - """ - The default shape is (mesh.nC, nP). - - :rtype: (int,int) - :return: shape of the operator as a tuple - """ - return (self.mesh.nC*2, self.nP)