{ "cells": [ { "cell_type": "code", "execution_count": null, "metadata": { "extensions": { "jupyter_dashboards": { "version": 1, "views": { "grid_default": { "col": 0, "height": 4, "hidden": true, "row": 0, "width": 4 }, "report_default": {} } } }, "nbpresent": { "id": "c59bfd9b-4293-433e-83db-820c33f4c378" } }, "outputs": [], "source": [ "from geoscilabs.em.DipoleWidgetTD import DipoleWidgetTD, InteractiveDipoleProfileTD, InteractiveDipoleDecay\n", "from geoscilabs.em.VolumeWidget import InteractivePlanes, plotObj3D" ] }, { "cell_type": "markdown", "metadata": { "extensions": { "jupyter_dashboards": { "version": 1, "views": { "grid_default": { "col": 0, "height": 7, "hidden": false, "row": 0, "width": 7 }, "report_default": {} } } }, "nbpresent": { "id": "95f1e819-0749-42ff-ad94-6d428298a5a7" } }, "source": [ "# Electrical Dipole in a Whole-space (time domain)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Purpose\n", "\n", "By using an analytic solution electromagnetic (EM) fields from electrical dipole in a Whole-space, we present some fundamentals of EM responses in the context of crosswell EM survey. " ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Set up\n", "\n", "For time domain EM method using galvanic source, we inject step-off currents to the earth through electrodes.\n", "\n", "## Crosswell EM geometry\n", "\n", "Here, we choose geometric parameters for a crosswell EM set-up having two boreholes for Tx and Rx. In the Tx hole, a VED source is located at (0m, 0m, 0m), and it is fixed. Horizontal location of the Rx hole is fixed to 50m apart from the source location in x-direction. \n" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "extensions": { "jupyter_dashboards": { "version": 1, "views": { "grid_default": { "col": 8, "height": 13, "hidden": true, "row": 0, "width": 4 }, "report_default": {} } } }, "nbpresent": { "id": "c0138e15-c392-4695-9627-578e85ae9c0a" } }, "outputs": [], "source": [ "ax = plotObj3D()" ] }, { "cell_type": "markdown", "metadata": { "extensions": { "jupyter_dashboards": { "version": 1, "views": { "grid_default": { "col": 0, "height": 10, "hidden": true, "row": 0, "width": null }, "report_default": {} } } }, "nbpresent": { "id": "09257b6f-48e9-426c-a0f3-d1a60beb3ad0" } }, "source": [ "## Backgrounds \n", "\n", "When using crosswell electromagnetic (EM) survey, we inject step-off currents to the earth using (+) and (-) current electrodes, and measure voltages between potential electrodes in the off-time, when DC effects are disappeared. A common goal here is imaging conductivity structure of the earth by interpreting measured voltages. However, to accomplish that task well, we first need to understand physical behavior of EM responses for the given survey set-up. \n", "\n", "Assuming length of the current elecrodes are small enough, this can be assumed as electrical dipole (ED). For a croswell set-up, let we have a vertical magnetic dipole (VMD) source in a homogeneous earth with step-off currents, then we can have analytic solution of EM fields in time domain (WH1988). Solution of of arbitrary EM fields, $\\mathbf{f}$, will be a function of \n", "\n", "$$ \\mathbf{f} (x, y, z; \\sigma, t),$$ \n", "\n", "where $\\sigma$ is conductivity of homogenous earth (S/m), and $f$ is transmitting frequency (Hz). Here $\\mathbf{f}$ can be electic ($\\mathbf{e}$) or magnetic field ($\\mathbf{h}$), or current density ($\\mathbf{j}$). Now, you will explore how EM responses behaves as a function of space, $\\sigma$, and $t$ for the given crosswell EM set-up . " ] }, { "cell_type": "markdown", "metadata": { "extensions": { "jupyter_dashboards": { "version": 1, "views": { "grid_default": { "col": 0, "height": 13, "hidden": true, "row": 6, "width": 6 }, "report_default": {} } } }, "nbpresent": { "id": "b9b7af2b-084a-4f24-9c1f-6c681e30fd35" } }, "source": [ "# Geometry app\n", "\n", "Here, we choose geometric parameters for a crosswell EM set-up having two boreholes for Tx and Rx. In the Tx hole, a VED source is located at (0m, 0m, 0m), and it is fixed. Horizontal location of the Rx hole is fixed to 50m apart from the source location in x-direction. \n", "\n", "## Parameters\n", "\n", "- plane: Choose either \"XZ\" or \"YZ\" plane\n", "- offset: Offset from a source plane (m)\n", "- nRx: The number of receivers in the Rx hole\n", "\n", "Chosen geometric parameters will be used in the Electric Dipole widget below. " ] }, { "cell_type": "code", "execution_count": null, "metadata": { "extensions": { "jupyter_dashboards": { "version": 1, "views": { "grid_default": { "col": 7, "height": 22, "hidden": false, "row": 0, "width": 5 }, "report_default": {} } } }, "nbpresent": { "id": "baf63d98-9356-4c2d-81d7-8f8cd1a6da2d" } }, "outputs": [], "source": [ "Q0 = InteractivePlanes(planevalue=\"XZ\", offsetvalue=0.)\n", "Q0" ] }, { "cell_type": "markdown", "metadata": { "extensions": { "jupyter_dashboards": { "version": 1, "views": { "grid_default": { "col": null, "height": 9, "hidden": true, "row": 29, "width": null }, "report_default": {} } } }, "nbpresent": { "id": "4cca45b8-6d74-43f2-b3aa-2f1f3ece54f3" } }, "source": [ "# Electric Dipole app\n", "\n", "Explore behavior of EM fields, $\\mathbf{f} (x, y, z; \\sigma, t)$ on 2D plane chosen in the above app. And also at the receiver locations. \n", "\n", "\n", "## Parameters:\n", "\n", "- Field: Type of EM fields (\"E\": electric field, \"H\": magnetic field, \"J\": current density)\n", "- AmpDir: Type of the vectoral EM fields \n", "\n", " None: $f_x$ or $f_y$ or $f_z$\n", " \n", " Amp: $\\mathbf{f} \\cdot \\mathbf{f} = |\\mathbf{f}|^2$\n", " \n", " Dir: A vectoral EM fields, $\\mathbf{f}$\n", " \n", "- Comp.: Direction of $\\mathbf{F}$ at Rx locations \n", "- $t$: time after current switch-off \n", "- $\\sigma$: Conductivity of homogeneous earth (S/m)\n", "- Offset: Offset from a source plane\n", "- Scale: Choose \"log\" or \"linear\" scale \n", "- Slider: When it is checked, it activates \"flog\" and \"siglog\" sliders above. \n", "- TimeLog: A float slider for log10 time (only activated when slider is checked) \n", "- SigLog: A float slider for log10 conductivity (only activated when slider is checked)\n" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "extensions": { "jupyter_dashboards": { "version": 1, "views": { "grid_default": { "col": 0, "height": 26, "hidden": false, "row": 22, "width": null }, "report_default": {} } } }, "nbpresent": { "id": "d4efa881-fa5c-4ecc-87b0-47f53e865a5f" }, "scrolled": false }, "outputs": [], "source": [ "dwidget = DipoleWidgetTD()\n", "Q1 = dwidget.InteractiveDipoleBH(nRx=Q0.kwargs[\"nRx\"], plane=Q0.kwargs[\"Plane\"], offset_plane=Q0.kwargs[\"Offset\"])\n", "Q1" ] }, { "cell_type": "markdown", "metadata": { "extensions": { "jupyter_dashboards": { "version": 1, "views": { "grid_default": { "col": 0, "height": 4, "hidden": true, "row": 38, "width": 12 }, "report_default": {} } } } }, "source": [ "# Proflie app\n", "\n", "Here we focuson data, which can be measured at receiver locations. We limit our attention to three different profile shown in **Geometry** app: Rxhole (red), Txhole (black), TxProfile (blue). \n", "\n", "## Parameters:\n", "\n", "- Comp.: Direction of $\\mathbf{F}$ at Rx locations \n", "- ComplexNumber: Type of complex data (\"Re\", \"Im\", \"Amp\", \"Phase\")\n", "- $t_1$: Time (sec)\n", "- $t_2$: Time (sec)\n", "- $t_3$: Time (sec)\n", "- Profile: Type of profile line (\"Rxhole\", \"Txhole\", \"TxProfile\")\n", "- Scale: Choose \"log\" or \"linear\" scale \n", "- Rx#: choice of Rx point for the following Sounding app" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "extensions": { "jupyter_dashboards": { "version": 1, "views": { "grid_default": { "col": 0, "height": 25, "hidden": false, "row": 48, "width": null }, "report_default": {} } } } }, "outputs": [], "source": [ "Q2 = InteractiveDipoleProfileTD(dwidget, Q1.kwargs[\"Sigma\"], Q1.kwargs[\"Field\"], Q1.kwargs[\"Component\"], Q1.kwargs[\"Scale\"])\n", "Q2" ] }, { "cell_type": "markdown", "metadata": { "extensions": { "jupyter_dashboards": { "version": 1, "views": { "grid_default": { "hidden": true }, "report_default": { "hidden": true } } } } }, "source": [ "# Sounding app\n", "\n", "## Parameters:\n", "\n", "- Comp.: Direction of $\\mathbf{F}$ at Rx locations \n", "- $\\sigma$: Conductivity of homogeneous earth (S/m)\n", "- Scale: Choose \"log\" or \"linear\" scale " ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "InteractiveDipoleDecay(dwidget, dwidget.dataview.xyz_line[Q2.kwargs[\"irx\"],:], Q1.kwargs[\"Field\"], Q1.kwargs[\"Component\"])" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "anaconda-cloud": {}, "extensions": { "jupyter_dashboards": { "activeView": "grid_default", "version": 1, "views": { "grid_default": { "cellMargin": 10, "defaultCellHeight": 20, "maxColumns": 12, "name": "grid", "type": "grid" }, "report_default": { "name": "report", "type": "report" } } } }, "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.10" }, "nbpresent": { "slides": { "18cc87f9-a29c-43fe-a307-094e80f187ec": { "id": "18cc87f9-a29c-43fe-a307-094e80f187ec", "prev": "47ebf514-9d62-497c-ae0e-da3d22b7a793", "regions": { "81dc0ef7-16af-48ca-9707-b6626f7b5ef3": { "attrs": { "height": 0.8, "width": 0.8, "x": 0.1, "y": 0.1 }, "content": { "cell": "c59bfd9b-4293-433e-83db-820c33f4c378", "part": "whole" }, "id": "81dc0ef7-16af-48ca-9707-b6626f7b5ef3" } } }, "245f2cbf-072e-429f-b8c2-3a155572cae5": { "id": "245f2cbf-072e-429f-b8c2-3a155572cae5", "prev": "d4aec013-fcfb-4601-928a-08cb129f1ab6", "regions": { "f58b4744-dda4-46e7-a2b6-132966aebb6c": { "attrs": { "height": 0.8, "width": 0.8, "x": 0.1, "y": 0.1 }, "content": { "cell": "9cbd4d35-95ab-4b4c-bc7b-ef4c7a5bd601", "part": "whole" }, "id": "f58b4744-dda4-46e7-a2b6-132966aebb6c" } } }, "47ebf514-9d62-497c-ae0e-da3d22b7a793": { "id": "47ebf514-9d62-497c-ae0e-da3d22b7a793", "prev": null, "regions": { "201b2767-c7c4-42a9-8972-0fb07ea027df": { "attrs": { "height": 0.7999999999999999, "width": 0.8, "x": -0.02479871175523355, "y": 0.1261227410985866 }, "content": { "cell": "e3a4dd9c-3f24-48d6-ad9b-4edbe3248df9", "part": "whole" }, "id": "201b2767-c7c4-42a9-8972-0fb07ea027df" } } }, "4cff681d-a824-462c-82c4-6c9dab0650f1": { "id": "4cff681d-a824-462c-82c4-6c9dab0650f1", "prev": "a0099cd8-0e6d-497b-8eee-1c9a9352e2a3", "regions": { "402b6864-2649-41f1-9713-ae5f6bf3b115": { "attrs": { "height": 0.8, "width": 0.8, "x": 0.1, "y": 0.1 }, "content": { "cell": "3bd63ed4-b758-48e5-a662-b68e4b2ce034", "part": "whole" }, "id": "402b6864-2649-41f1-9713-ae5f6bf3b115" } } }, "51a59c43-c682-499d-b8a9-bf6c793cbe75": { "id": "51a59c43-c682-499d-b8a9-bf6c793cbe75", "prev": "b2754f55-e10b-4a02-b5e1-618bc5d423f0", "regions": { "15926dd2-ff48-4df3-a8be-e4b86ea2cd4f": { "attrs": { "height": 0.8, "width": 0.8, "x": 0.1, "y": 0.1 }, "content": { "cell": "baf63d98-9356-4c2d-81d7-8f8cd1a6da2d", "part": "whole" }, "id": "15926dd2-ff48-4df3-a8be-e4b86ea2cd4f" } } }, "5dd85aee-5025-4fe2-a90c-d80de7f8d456": { "id": "5dd85aee-5025-4fe2-a90c-d80de7f8d456", "prev": "bf7c1942-c97d-4023-8cc8-62a6369c6229", "regions": { "a022dc82-caf9-430a-8e77-7a155085aee5": { "attrs": { "height": 0.8, "width": 0.8, "x": 0.1, "y": 0.1 }, "content": { "cell": "d4efa881-fa5c-4ecc-87b0-47f53e865a5f", "part": "whole" }, "id": "a022dc82-caf9-430a-8e77-7a155085aee5" } } }, "7dad038d-3585-4d4a-acb4-d2388b117b7e": { "id": "7dad038d-3585-4d4a-acb4-d2388b117b7e", "prev": "5dd85aee-5025-4fe2-a90c-d80de7f8d456", "regions": { "e526da6b-003d-4015-8900-386d21051974": { "attrs": { "height": 0.8, "width": 0.8, "x": 0.1, "y": 0.1 }, "content": { "cell": "c3075a3b-0158-49f6-9d38-ed7372a4761c", "part": "whole" }, "id": "e526da6b-003d-4015-8900-386d21051974" } } }, "81c72ec7-c7a8-45e6-9649-080db72a3bf9": { "id": "81c72ec7-c7a8-45e6-9649-080db72a3bf9", "prev": "4cff681d-a824-462c-82c4-6c9dab0650f1", "regions": { "98e755fa-d098-4ebf-9481-63e3fed6a783": { "attrs": { "height": 0.8, "width": 0.8, "x": 0.1, "y": 0.1 }, "content": { "cell": "09257b6f-48e9-426c-a0f3-d1a60beb3ad0", "part": "whole" }, "id": "98e755fa-d098-4ebf-9481-63e3fed6a783" } } }, "8a528caa-079f-4215-b8b8-28302cc93a3e": { "id": "8a528caa-079f-4215-b8b8-28302cc93a3e", "prev": "7dad038d-3585-4d4a-acb4-d2388b117b7e", "regions": { "8304fb51-067b-42fd-b53a-e3a1d9e04272": { "attrs": { "height": 0.8, "width": 0.8, "x": 0.1, "y": 0.1 }, "content": { "cell": "0053bec8-5b59-4ae4-b760-37bdf85ed0d8", "part": "whole" }, "id": "8304fb51-067b-42fd-b53a-e3a1d9e04272" } } }, "a0099cd8-0e6d-497b-8eee-1c9a9352e2a3": { "id": "a0099cd8-0e6d-497b-8eee-1c9a9352e2a3", "prev": "245f2cbf-072e-429f-b8c2-3a155572cae5", "regions": { "11eb3f79-3a55-4a7b-a77f-7a29de426686": { "attrs": { "height": 0.8, "width": 0.8, "x": 0.1, "y": 0.1 }, "content": { "cell": "c0138e15-c392-4695-9627-578e85ae9c0a", "part": "whole" }, "id": "11eb3f79-3a55-4a7b-a77f-7a29de426686" } } }, "a3506cf3-dd45-4e72-86bb-af1f5dc15b15": { "id": "a3506cf3-dd45-4e72-86bb-af1f5dc15b15", "prev": "8a528caa-079f-4215-b8b8-28302cc93a3e", "regions": { "c31fa94d-0be2-484b-8fc7-21f845ecd9e7": { "attrs": { "height": 0.8, "width": 0.8, "x": 0.1, "y": 0.1 }, "content": { "cell": "3eafb99a-a449-44ad-92ca-c5759984f87c", "part": "whole" }, "id": "c31fa94d-0be2-484b-8fc7-21f845ecd9e7" } } }, "b2754f55-e10b-4a02-b5e1-618bc5d423f0": { "id": "b2754f55-e10b-4a02-b5e1-618bc5d423f0", "prev": "c1556db0-f27c-4a07-a6ee-218b6da5228f", "regions": { "6ce0b2c5-9f8e-414c-b578-d1fb9537a350": { "attrs": { "height": 0.8, "width": 0.8, "x": 0.1, "y": 0.1 }, "content": { "cell": "53198a70-4798-4da9-8ce3-43a14b3086f2", "part": "whole" }, "id": "6ce0b2c5-9f8e-414c-b578-d1fb9537a350" } } }, "bf7c1942-c97d-4023-8cc8-62a6369c6229": { "id": "bf7c1942-c97d-4023-8cc8-62a6369c6229", "prev": "f2016771-0d1f-4b36-a992-3ed37d96db8d", "regions": { "d2c780fd-f02d-4b23-855d-7268418a9a6b": { "attrs": { "height": 0.8, "width": 0.8, "x": 0.1, "y": 0.1 }, "content": { "cell": "4cca45b8-6d74-43f2-b3aa-2f1f3ece54f3", "part": "whole" }, "id": "d2c780fd-f02d-4b23-855d-7268418a9a6b" } } }, "c1556db0-f27c-4a07-a6ee-218b6da5228f": { "id": "c1556db0-f27c-4a07-a6ee-218b6da5228f", "prev": "81c72ec7-c7a8-45e6-9649-080db72a3bf9", "regions": { "e8e03a1b-fce6-4369-b5e0-6f4c0d98fd48": { "attrs": { "height": 0.8, "width": 0.8, "x": 0.1, "y": 0.1 }, "content": { "cell": "b9b7af2b-084a-4f24-9c1f-6c681e30fd35", "part": "whole" }, "id": "e8e03a1b-fce6-4369-b5e0-6f4c0d98fd48" } } }, "d4aec013-fcfb-4601-928a-08cb129f1ab6": { "id": "d4aec013-fcfb-4601-928a-08cb129f1ab6", "prev": "18cc87f9-a29c-43fe-a307-094e80f187ec", "regions": { "959cec78-5304-4c08-be1c-372309852edb": { "attrs": { "height": 0.8, "width": 0.8, "x": 0.1, "y": 0.1 }, "content": { "cell": "95f1e819-0749-42ff-ad94-6d428298a5a7", "part": "whole" }, "id": "959cec78-5304-4c08-be1c-372309852edb" } } }, "f2016771-0d1f-4b36-a992-3ed37d96db8d": { "id": "f2016771-0d1f-4b36-a992-3ed37d96db8d", "prev": "51a59c43-c682-499d-b8a9-bf6c793cbe75", "regions": { "f238a22f-46b8-43ff-b102-98cb6289f575": { "attrs": { "height": 0.8, "width": 0.8, "x": 0.1, "y": 0.1 }, "content": { "cell": "100a2463-b8e6-4c4c-9cfc-5ea61334779e", "part": "whole" }, "id": "f238a22f-46b8-43ff-b102-98cb6289f575" } } } }, "themes": {} }, "widgets": { "state": { "21a254dd3b5f4602bca72c4bd9416ea4": { "views": [ { "cell_index": 14 } ] }, "245fad35ae92409a8b032b6e0f625fb1": { "views": [ { "cell_index": 12 } ] }, "5744602a88104b89a66035469d068314": { "views": [ { "cell_index": 8 } ] }, "ed4622733df04ee3a57ea57a044d255e": { "views": [ { "cell_index": 10 } ] } }, "version": "1.2.0" } }, "nbformat": 4, "nbformat_minor": 1 }