Add linear survey

This commit is contained in:
D Fournier committed 2016-02-24 20:59:51 -08:00
1 parent 4e871a43a9
commit 63bf8b9e4d
1 file changed
+8
+8
View File
@@ -375,3 +375,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]