mirror of
https://github.com/wassname/simpeg.git
synced 2026-07-12 01:06:37 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user