Merge branch 'Dom_Dev' of https://github.com/simpeg/simpeg into dcip/dev

This commit is contained in:
Rowan Cockett
2016-02-05 13:51:53 -08:00
8 changed files with 589 additions and 12 deletions
+8 -1
View File
@@ -1,6 +1,5 @@
import Utils, numpy as np, scipy.sparse as sp, uuid
class BaseRx(object):
"""SimPEG Receiver Object"""
@@ -375,3 +374,11 @@ class BaseSurvey(object):
self.dobs = self.dtrue+noise
self.std = self.dobs*0 + std
return self.dobs
class LinearSurvey(BaseSurvey):
def projectFields(self, u):
return u
@property
def nD(self):
return self.prob.G.shape[0]