From aa9cc367c571a13cf82cc188bd97011b3e49aee4 Mon Sep 17 00:00:00 2001 From: Lindsey Heagy Date: Tue, 5 Apr 2016 11:28:16 -0700 Subject: [PATCH] update docs --- SimPEG/Examples/__init__.py | 8 ++++--- docs/examples/MT_1D_analytic_nlayer_Earth.rst | 21 +++++++++++++++++++ 2 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 docs/examples/MT_1D_analytic_nlayer_Earth.rst diff --git a/SimPEG/Examples/__init__.py b/SimPEG/Examples/__init__.py index 73665644..ee9c430d 100644 --- a/SimPEG/Examples/__init__.py +++ b/SimPEG/Examples/__init__.py @@ -1,10 +1,10 @@ # Run this file to add imports. ##### AUTOIMPORTS ##### -#import DC_PseudoSection_Simulation +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 +16,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__ = ["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", "MT_1D_analytic_nlayer_Earth", "sphereElectrostatic_example"] ##### AUTOIMPORTS ##### diff --git a/docs/examples/MT_1D_analytic_nlayer_Earth.rst b/docs/examples/MT_1D_analytic_nlayer_Earth.rst new file mode 100644 index 00000000..834121a9 --- /dev/null +++ b/docs/examples/MT_1D_analytic_nlayer_Earth.rst @@ -0,0 +1,21 @@ +.. _examples_MT_1D_analytic_nlayer_Earth: + +.. --------------------------------- .. +.. .. +.. THIS FILE IS AUTO GENEREATED .. +.. .. +.. SimPEG/Examples/__init__.py .. +.. .. +.. --------------------------------- .. + +MT 1D analytic nlayer Earth +=========================== + +.. plot:: + + from SimPEG import Examples + Examples.MT_1D_analytic_nlayer_Earth.run() + +.. literalinclude:: ../../SimPEG/Examples/MT_1D_analytic_nlayer_Earth.py + :language: python + :linenos: