From cf5181016fe261c1c2d3abdfedfe70073e76b5b6 Mon Sep 17 00:00:00 2001 From: GudniRos Date: Tue, 7 Jun 2016 09:45:02 -0700 Subject: [PATCH] Made MT_1d_analytic_nLayer_Earth.run have default n layers of 3. Trying to fix example testing. --- SimPEG/Examples/MT_1D_analytic_nlayer_Earth.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SimPEG/Examples/MT_1D_analytic_nlayer_Earth.py b/SimPEG/Examples/MT_1D_analytic_nlayer_Earth.py index 62ab2a68..b8edd9bb 100644 --- a/SimPEG/Examples/MT_1D_analytic_nlayer_Earth.py +++ b/SimPEG/Examples/MT_1D_analytic_nlayer_Earth.py @@ -399,7 +399,7 @@ def PlotAppRes3LayersInteract(h1,h2,sigl1,sigl2,sigl3,mul1,mul2,mul3,epsl1,epsl2 PlotAppRes(frangn,thick3,sig3,chg3_0,taux3,c3,mu3,eps3,3,F_Envelope,PlotEnvelope) -def run(n,plotIt=True): +def run(n=3,plotIt=True): # something to make a plot F = frange(-5.,5.,20) @@ -420,7 +420,7 @@ def run(n,plotIt=True): return Res, Phase if __name__ == '__main__': - run(3) + run()