Ensure that (1/dt) gives a float not an int. Use (1.0/dt). Added fullJ calculation. Tested Sensitivity.

This commit is contained in:
Rowan Cockett
2013-11-15 13:59:41 -08:00
parent e98e41f34c
commit 278eec94ec
3 changed files with 89 additions and 37 deletions
+3
View File
@@ -38,6 +38,9 @@ class BaseInversion(object):
eps = np.linalg.norm(mkvc(self.prob.dobs),2)*1e-5
self._Wd = 1/(abs(self.prob.dobs)*self.prob.std+eps)
return self._Wd
@Wd.setter
def Wd(self, value):
self._Wd = value
@property
def phi_d_target(self):