From bdfabe620a5a7ef391363a2840e9d146a19c7d95 Mon Sep 17 00:00:00 2001 From: Rowan Cockett Date: Fri, 5 Feb 2016 14:01:56 -0800 Subject: [PATCH] Add the DC examples --- SimPEG/Examples/__init__.py | 6 +++- docs/examples/DC_Analytic_Dipole.rst | 21 ++++++++++++++ docs/examples/DC_Forward_PseudoSection.rst | 28 +++++++++++++++++++ docs/examples/DC_Forward_WennerArra.rst | 21 ++++++++++++++ docs/examples/DC_PseudoSection_Simulation.rst | 28 +++++++++++++++++++ 5 files changed, 103 insertions(+), 1 deletion(-) create mode 100644 docs/examples/DC_Analytic_Dipole.rst create mode 100644 docs/examples/DC_Forward_PseudoSection.rst create mode 100644 docs/examples/DC_Forward_WennerArra.rst create mode 100644 docs/examples/DC_PseudoSection_Simulation.rst diff --git a/SimPEG/Examples/__init__.py b/SimPEG/Examples/__init__.py index 47721ccf..1101ae83 100644 --- a/SimPEG/Examples/__init__.py +++ b/SimPEG/Examples/__init__.py @@ -1,6 +1,10 @@ # Run this file to add imports. ##### AUTOIMPORTS ##### +import DC_Analytic_Dipole +import DC_Forward_PseudoSection +import DC_Forward_WennerArray +import DC_PseudoSection_Simulation import EM_FDEM_1D_Inversion import EM_FDEM_Analytic_MagDipoleWholespace import EM_TDEM_1D_Inversion @@ -15,7 +19,7 @@ import Mesh_QuadTree_FaceDiv import Mesh_QuadTree_HangingNodes import Mesh_Tensor_Creation -__examples__ = ["EM_FDEM_1D_Inversion", "EM_FDEM_Analytic_MagDipoleWholespace", "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_Analytic_Dipole", "DC_Forward_PseudoSection", "DC_Forward_WennerArray", "DC_PseudoSection_Simulation", "EM_FDEM_1D_Inversion", "EM_FDEM_Analytic_MagDipoleWholespace", "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"] ##### AUTOIMPORTS ##### diff --git a/docs/examples/DC_Analytic_Dipole.rst b/docs/examples/DC_Analytic_Dipole.rst new file mode 100644 index 00000000..f3d06058 --- /dev/null +++ b/docs/examples/DC_Analytic_Dipole.rst @@ -0,0 +1,21 @@ +.. _examples_DC_Analytic_Dipole: + +.. --------------------------------- .. +.. .. +.. THIS FILE IS AUTO GENEREATED .. +.. .. +.. SimPEG/Examples/__init__.py .. +.. .. +.. --------------------------------- .. + +DC Analytic Dipole +================== + +.. plot:: + + from SimPEG import Examples + Examples.DC_Analytic_Dipole.run() + +.. literalinclude:: ../../SimPEG/Examples/DC_Analytic_Dipole.py + :language: python + :linenos: diff --git a/docs/examples/DC_Forward_PseudoSection.rst b/docs/examples/DC_Forward_PseudoSection.rst new file mode 100644 index 00000000..87c9fd5a --- /dev/null +++ b/docs/examples/DC_Forward_PseudoSection.rst @@ -0,0 +1,28 @@ +.. _examples_DC_Forward_PseudoSection: + +.. --------------------------------- .. +.. .. +.. THIS FILE IS AUTO GENEREATED .. +.. .. +.. SimPEG/Examples/__init__.py .. +.. .. +.. --------------------------------- .. + + +orward Simulation + +ard model conductive spheres in a half-space and plot a pseudo-section + +ted on Mon Feb 01 19:28:06 2016 + +rndo + + +.. plot:: + + from SimPEG import Examples + Examples.DC_Forward_PseudoSection.run() + +.. literalinclude:: ../../SimPEG/Examples/DC_Forward_PseudoSection.py + :language: python + :linenos: diff --git a/docs/examples/DC_Forward_WennerArra.rst b/docs/examples/DC_Forward_WennerArra.rst new file mode 100644 index 00000000..04ed685a --- /dev/null +++ b/docs/examples/DC_Forward_WennerArra.rst @@ -0,0 +1,21 @@ +.. _examples_DC_Forward_WennerArra: + +.. --------------------------------- .. +.. .. +.. THIS FILE IS AUTO GENEREATED .. +.. .. +.. SimPEG/Examples/__init__.py .. +.. .. +.. --------------------------------- .. + +DC Forward WennerArra +===================== + +.. plot:: + + from SimPEG import Examples + Examples.DC_Forward_WennerArra.run() + +.. literalinclude:: ../../SimPEG/Examples/DC_Forward_WennerArra.py + :language: python + :linenos: diff --git a/docs/examples/DC_PseudoSection_Simulation.rst b/docs/examples/DC_PseudoSection_Simulation.rst new file mode 100644 index 00000000..8f1c3ce1 --- /dev/null +++ b/docs/examples/DC_PseudoSection_Simulation.rst @@ -0,0 +1,28 @@ +.. _examples_DC_PseudoSection_Simulation: + +.. --------------------------------- .. +.. .. +.. THIS FILE IS AUTO GENEREATED .. +.. .. +.. SimPEG/Examples/__init__.py .. +.. .. +.. --------------------------------- .. + + +orward Simulation + +ard model conductive spheres in a half-space and plot a pseudo-section + +ted on Mon Feb 01 19:28:06 2016 + +rndo + + +.. plot:: + + from SimPEG import Examples + Examples.DC_PseudoSection_Simulation.run() + +.. literalinclude:: ../../SimPEG/Examples/DC_PseudoSection_Simulation.py + :language: python + :linenos: