{ "cells": [ { "cell_type": "markdown", "metadata": { "extensions": { "jupyter_dashboards": { "version": 1, "views": { "grid_default": { "col": 0, "height": 11, "hidden": false, "row": 0, "width": 12 }, "report_default": { "hidden": false } } } } }, "source": [ "This is the Jupyter Notebook, an interactive coding and computation environment. For this lab, you do not have to write any code, you will only be running it. \n", "\n", "To use the notebook:\n", "- \"Shift + Enter\" runs the code within the cell (so does the forward arrow button near the top of the document)\n", "- You can alter variables and re-run cells\n", "- If you want to start with a clean slate, restart the Kernel either by going to the top, clicking on Kernel: Restart, or by \"esc + 00\" (if you do this, you will need to re-run the following block of code before running any other cells in the notebook) " ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "from geoscilabs.mag.MagDipoleApp import MagneticDipoleApp\n", "mag = MagneticDipoleApp()" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Magnetic Prism Applet\n", "\n" ] }, { "cell_type": "markdown", "metadata": { "extensions": { "jupyter_dashboards": { "version": 1, "views": { "grid_default": { "col": 0, "height": 3, "hidden": true, "row": 11, "width": 12 }, "report_default": { "hidden": true } } } } }, "source": [ "## Purpose\n", "\n", "From the Magnetic Dipole applet, we have learned how anomalous magnetic field observed at ground's surface look\n", "The objective is to learn about the magnetic field observed at the ground's surface, caused by a retangular susceptible prism. \n", "\n", "\n", "## What is shown\n", "\n", "- The colour map shows the strength of the chosen parameter (Bt, Bx, By, or Bz) as a function of position.\n", "\n", "- Imagine doing a two dimensional survey over a susceptible sphere that has been magentized by the Earth's magnetic field specified by inclination and declination. \"Measurement\" location is the centre of each coloured box. This is a simple (but easily programmable) alternative to generating a smooth contour map.\n", "\n", "- The anomaly depends upon magnetic latitude, direction of the inducing (Earth's) field, the depth of the buried dipole, and the magnetic moment of the buried dipole.\n", "\n", "\n", "## Important Notes:\n", "\n", "- Inclination (I) and declination (D) describe the orientation of the Earth's ambient field at the centre of the survey area. Positive inclination implies you are in the northern hemisphere, and positive declination implies that magnetic north is to the east of geographic north.\n", "\n", "- The \"length\" adjuster changes the size of the square survey area. The default of 72 means the survey square is 72 metres on a side.\n", "\n", "- The \"data spacing\" adjuster changes the distance between measurements. The default of 1 means measurements were acquired over the survey square on a 2-metre grid. In other words, \"data spacing = 2\" means each coloured box is 2 m square.\n", "\n", "- The \"depth\" adjuster changes the depth (in metres) to the top of the buried prism.\n", "\n", "- The \"magnetic moment (M)\" adjuster changes the strength of the induced field. Units are Am2. This is related to the strength of the inducing field, the susceptibility of the buried sphere, and the volume of susceptible material.\n", "- Bt, Bx, By, Bz are Total field, X-component (positive northwards), Y-component (positive eastwards), and Z-component (positive down) of the anomaly field respectively.\n", "\n", "- Checking the fixed scale button fixes the colour scale so that the end points of the colour scale are minimum and maximum values for the current data set.\n", "\n", "- You can generate a profile along either \"East\" or \"North\" direction\n", "\n", "- Check half width to see the half width of the anomaly. Anomaly width is noted on the botton of the graph.\n", "\n", "- Measurements are taken 1m above the surface." ] }, { "cell_type": "markdown", "metadata": { "extensions": { "jupyter_dashboards": { "version": 1, "views": { "grid_default": { "col": 0, "height": 11, "hidden": false, "row": 11, "width": 6 }, "report_default": { "hidden": false } } } } }, "source": [ "## Define a 3D prism\n", "Compared to the MagneticDipoleApplet, there are additional parameters to define a prism.\n", "\n", "- $\\triangle x$: length in North (X) direction (m)\n", "- $\\triangle y$: length in East (Y) direction (m)\n", "- $\\triangle z$: length in Depth (z) direction (m) below the receiver\n", "- depth: top boundary of the prism (meter)\n", "- I$_{prism}$: inclination of the prism (reference is north direction)\n", "- D$_{prism}$: declination of the prism (reference is north direction) " ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [ { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "5eb5c380a133480eb42cf83816032599", "version_major": 2, "version_minor": 0 }, "text/plain": [ "HBox(children=(VBox(children=(RadioButtons(description='plot', options=('field', 'model'), value='field'), Rad…" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "mag.interact_plot_model_prism()" ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "\u001b[0;31mSignature:\u001b[0m \u001b[0mmag\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0minteract_plot_model_prism\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", "\u001b[0;31mDocstring:\u001b[0m \n", "\u001b[0;31mFile:\u001b[0m ~/opt/miniconda3/envs/eosc350/lib/python3.8/site-packages/geoscilabs/mag/MagDipoleApp.py\n", "\u001b[0;31mType:\u001b[0m method\n" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "mag.interact_plot_model_prism?" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "anaconda-cloud": {}, "extensions": { "jupyter_dashboards": { "activeView": "report_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.13" }, "widgets": { "state": { "2c77e5c891dd44069234331d87475ef2": { "views": [ { "cell_index": 5 } ] } }, "version": "1.2.0" } }, "nbformat": 4, "nbformat_minor": 4 }