diff --git a/SimPEG/Examples/MT_1D_analytic_nlayer_Earth.py b/SimPEG/Examples/MT_1D_analytic_nlayer_Earth.py index 0cccc5f1..b99d8d41 100644 --- a/SimPEG/Examples/MT_1D_analytic_nlayer_Earth.py +++ b/SimPEG/Examples/MT_1D_analytic_nlayer_Earth.py @@ -414,7 +414,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) @@ -435,7 +435,7 @@ def run(n,plotIt=True): return Res, Phase if __name__ == '__main__': - run(3) + run() diff --git a/SimPEG/Examples/__init__.py b/SimPEG/Examples/__init__.py index 73665644..b93b552b 100644 --- a/SimPEG/Examples/__init__.py +++ b/SimPEG/Examples/__init__.py @@ -1,10 +1,9 @@ # Run this file to add imports. ##### AUTOIMPORTS ##### -#import DC_PseudoSection_Simulation import EM_FDEM_1D_Inversion import EM_FDEM_Analytic_MagDipoleWholespace -#import EM_FDEM_SusEffects +import EM_FDEM_SusEffects import EM_TDEM_1D_Inversion import FLOW_Richards_1D_Celia1990 import Forward_BasicDirectCurrent @@ -16,8 +15,10 @@ import Mesh_QuadTree_Creation import Mesh_QuadTree_FaceDiv import Mesh_QuadTree_HangingNodes import Mesh_Tensor_Creation +import MT_1D_analytic_nlayer_Earth +import sphereElectrostatic_example -__examples__ = ["DC_PseudoSection_Simulation", "EM_FDEM_1D_Inversion", "EM_FDEM_Analytic_MagDipoleWholespace", "EM_FDEM_SusEffects", "EM_TDEM_1D_Inversion", "FLOW_Richards_1D_Celia1990", "Forward_BasicDirectCurrent", "Inversion_Linear", "Mesh_Basic_PlotImage", "Mesh_Basic_Types", "Mesh_Operators_CahnHilliard", "Mesh_QuadTree_Creation", "Mesh_QuadTree_FaceDiv", "Mesh_QuadTree_HangingNodes", "Mesh_Tensor_Creation"] +__examples__ = ["EM_FDEM_1D_Inversion", "EM_FDEM_Analytic_MagDipoleWholespace", "EM_FDEM_SusEffects", "EM_TDEM_1D_Inversion", "FLOW_Richards_1D_Celia1990", "Forward_BasicDirectCurrent", "Inversion_Linear", "Mesh_Basic_PlotImage", "Mesh_Basic_Types", "Mesh_Operators_CahnHilliard", "Mesh_QuadTree_Creation", "Mesh_QuadTree_FaceDiv", "Mesh_QuadTree_HangingNodes", "Mesh_Tensor_Creation", "MT_1D_analytic_nlayer_Earth", "sphereElectrostatic_example"] ##### AUTOIMPORTS ##### diff --git a/docs/examples/DC_PseudoSection_Simulation.rst b/docs/examples/MT_1D_analytic_nlayer_Earth.rst similarity index 52% rename from docs/examples/DC_PseudoSection_Simulation.rst rename to docs/examples/MT_1D_analytic_nlayer_Earth.rst index 1d4330a1..834121a9 100644 --- a/docs/examples/DC_PseudoSection_Simulation.rst +++ b/docs/examples/MT_1D_analytic_nlayer_Earth.rst @@ -1,4 +1,4 @@ -.. _examples_DC_PseudoSection_Simulation: +.. _examples_MT_1D_analytic_nlayer_Earth: .. --------------------------------- .. .. .. @@ -8,24 +8,14 @@ .. .. .. --------------------------------- .. - - -DC Forward Simulation -===================== - -Forward model conductive spheres in a half-space and plot a pseudo-section - -Created on Mon Feb 01 19:28:06 2016 - -@fourndo - - +MT 1D analytic nlayer Earth +=========================== .. plot:: from SimPEG import Examples - Examples.DC_PseudoSection_Simulation.run() + Examples.MT_1D_analytic_nlayer_Earth.run() -.. literalinclude:: ../../SimPEG/Examples/DC_PseudoSection_Simulation.py +.. literalinclude:: ../../SimPEG/Examples/MT_1D_analytic_nlayer_Earth.py :language: python :linenos: