use the std and eps from survey in definition of data misfit if defined (and demonstrate it with the TDEM example)

This commit is contained in:
Lindsey Heagy
2016-01-28 13:20:48 -08:00
parent f5333f35a2
commit c24416ea12
3 changed files with 15 additions and 17 deletions
+3
View File
@@ -53,7 +53,10 @@ def run(plotIt=True):
# create observed data
std = 0.05
survey.dobs = survey.makeSyntheticData(mtrue,std)
survey.std = std
survey.eps = 1e-5*np.linalg.norm(survey.dobs)
if plotIt:
import matplotlib.pyplot as plt