|
2 | 2 | "cells": [
|
3 | 3 | {
|
4 | 4 | "cell_type": "code",
|
5 |
| - "execution_count": 1, |
| 5 | + "execution_count": null, |
6 | 6 | "metadata": {},
|
7 |
| - "outputs": [ |
8 |
| - { |
9 |
| - "name": "stderr", |
10 |
| - "output_type": "stream", |
11 |
| - "text": [ |
12 |
| - "/Users/syckdog/opt/anaconda3/envs/e350_notebook/lib/python3.9/site-packages/discretize/utils/code_utils.py:247: FutureWarning: ExtractCoreMesh has been deprecated, please use extract_core_mesh. It will be removed in version 1.0.0 of discretize.\n", |
13 |
| - " warnings.warn(\n" |
14 |
| - ] |
15 |
| - } |
16 |
| - ], |
| 7 | + "outputs": [], |
17 | 8 | "source": [
|
18 | 9 | "import warnings\n",
|
19 | 10 | "warnings.filterwarnings(\"ignore\")\n",
|
20 | 11 | "from geoscilabs.dcip.DC_cylinder import cylinder_app\n",
|
21 | 12 | "from geoscilabs.dcip.DCLayers import plot_layer_potentials_app\n",
|
22 | 13 | "from geoscilabs.dcip.DC_Pseudosections import (\n",
|
23 | 14 | " DC2DPseudoWidget, MidpointPseudoSectionWidget, DC2DfwdWidget\n",
|
24 |
| - ")\n" |
| 15 | + ")\n", |
| 16 | + "from geoscilabs.dcip.DCWidgetResLayer2_5D import ResLayer_app\n" |
25 | 17 | ]
|
26 | 18 | },
|
27 | 19 | {
|
|
54 | 46 | },
|
55 | 47 | {
|
56 | 48 | "cell_type": "code",
|
57 |
| - "execution_count": 2, |
| 49 | + "execution_count": null, |
58 | 50 | "metadata": {},
|
59 |
| - "outputs": [ |
60 |
| - { |
61 |
| - "data": { |
62 |
| - "application/vnd.jupyter.widget-view+json": { |
63 |
| - "model_id": "04569e8a845b4a32bc77d043b2950dd3", |
64 |
| - "version_major": 2, |
65 |
| - "version_minor": 0 |
66 |
| - }, |
67 |
| - "text/plain": [ |
68 |
| - "MyApp(children=(ToggleButtons(description='survey', options=('Dipole-Dipole', 'Dipole-Pole', 'Pole-Dipole', 'P…" |
69 |
| - ] |
70 |
| - }, |
71 |
| - "metadata": {}, |
72 |
| - "output_type": "display_data" |
73 |
| - } |
74 |
| - ], |
| 51 | + "outputs": [], |
75 | 52 | "source": [
|
76 | 53 | "cylinder_app()"
|
77 | 54 | ]
|
|
119 | 96 | "cell_type": "markdown",
|
120 | 97 | "metadata": {},
|
121 | 98 | "source": [
|
122 |
| - "## Two layer app" |
| 99 | + "## Two layer + cylinder app" |
123 | 100 | ]
|
124 | 101 | },
|
125 | 102 | {
|
126 | 103 | "cell_type": "markdown",
|
127 | 104 | "metadata": {},
|
128 | 105 | "source": [
|
129 |
| - "- **A**: (+) Current electrode location\n", |
130 |
| - "- **B**: (-) Current electrode location\n", |
131 |
| - "- **M**: (+) Potential electrode location\n", |
132 |
| - "- **N**: (-) Potential electrode location\n", |
133 |
| - "- **$\\rho_1$**: Resistivity of the top layer\n", |
134 |
| - "- **$\\rho_2$**: Resistivity of the bottom layer\n", |
135 |
| - "- **h**: thickness of the first layer\n", |
136 |
| - "- **Plot**: Field to visualize\n", |
137 |
| - "- **Type**: which part of the field" |
| 106 | + " - **survey**: Type of survey\n", |
| 107 | + " - **A**: Electrode A (+) location\n", |
| 108 | + " - **B**: Electrode B (-) location\n", |
| 109 | + " - **M**: Electrode A (+) location\n", |
| 110 | + " - **N**: Electrode B (-) location\n", |
| 111 | + " - **$dz_{layer}$**: thickness of the resistive layer\n", |
| 112 | + " - **$zc_{ayer}$**: z location of the resistive layer\n", |
| 113 | + " - **xc**: x location of cylinder center\n", |
| 114 | + " - **zc**: z location of cylinder center\n", |
| 115 | + " - **$\\rho_{1}$**: Resistivity of the half-space\n", |
| 116 | + " - **$\\rho_{2}$**: Resistivity of the layer\n", |
| 117 | + " - **$\\rho_{3}$**: Resistivity of the cylinder\n", |
| 118 | + " - **Field**: Field to visualize\n", |
| 119 | + " - **Type**: which part of the field\n", |
| 120 | + " - **Scale**: Linear or Log Scale visualization" |
138 | 121 | ]
|
139 | 122 | },
|
140 | 123 | {
|
141 | 124 | "cell_type": "code",
|
142 |
| - "execution_count": 3, |
| 125 | + "execution_count": null, |
143 | 126 | "metadata": {},
|
144 |
| - "outputs": [ |
145 |
| - { |
146 |
| - "data": { |
147 |
| - "application/vnd.jupyter.widget-view+json": { |
148 |
| - "model_id": "d1384e6efce843ca873e1a2f8571cc74", |
149 |
| - "version_major": 2, |
150 |
| - "version_minor": 0 |
151 |
| - }, |
152 |
| - "text/plain": [ |
153 |
| - "MyApp(children=(FloatSlider(value=-30.0, continuous_update=False, description='A', max=40.0, min=-40.0, step=1…" |
154 |
| - ] |
155 |
| - }, |
156 |
| - "metadata": {}, |
157 |
| - "output_type": "display_data" |
158 |
| - } |
159 |
| - ], |
| 127 | + "outputs": [], |
160 | 128 | "source": [
|
161 |
| - "plot_layer_potentials_app()" |
| 129 | + "ResLayer_app()" |
162 | 130 | ]
|
163 | 131 | },
|
164 | 132 | {
|
|
198 | 166 | },
|
199 | 167 | {
|
200 | 168 | "cell_type": "code",
|
201 |
| - "execution_count": 4, |
| 169 | + "execution_count": null, |
202 | 170 | "metadata": {},
|
203 |
| - "outputs": [ |
204 |
| - { |
205 |
| - "data": { |
206 |
| - "application/vnd.jupyter.widget-view+json": { |
207 |
| - "model_id": "d645ed44e78b485a93927aa419e818e8", |
208 |
| - "version_major": 2, |
209 |
| - "version_minor": 0 |
210 |
| - }, |
211 |
| - "text/plain": [ |
212 |
| - "MyApp(children=(IntSlider(value=0, description='i', max=17), Output()), layout=Layout(align_items='stretch', d…" |
213 |
| - ] |
214 |
| - }, |
215 |
| - "metadata": {}, |
216 |
| - "output_type": "display_data" |
217 |
| - } |
218 |
| - ], |
| 171 | + "outputs": [], |
219 | 172 | "source": [
|
220 | 173 | "MidpointPseudoSectionWidget()"
|
221 | 174 | ]
|
|
242 | 195 | },
|
243 | 196 | {
|
244 | 197 | "cell_type": "code",
|
245 |
| - "execution_count": 5, |
246 |
| - "metadata": { |
247 |
| - "scrolled": false |
248 |
| - }, |
249 |
| - "outputs": [ |
250 |
| - { |
251 |
| - "data": { |
252 |
| - "application/vnd.jupyter.widget-view+json": { |
253 |
| - "model_id": "6a25181275ec473a99eb1e64715b50d2", |
254 |
| - "version_major": 2, |
255 |
| - "version_minor": 0 |
256 |
| - }, |
257 |
| - "text/plain": [ |
258 |
| - "interactive(children=(BoundedFloatText(value=1000.0, description='$\\\\rho_1$', max=1000.0, min=10.0), BoundedFl…" |
259 |
| - ] |
260 |
| - }, |
261 |
| - "metadata": {}, |
262 |
| - "output_type": "display_data" |
263 |
| - } |
264 |
| - ], |
| 198 | + "execution_count": null, |
| 199 | + "metadata": {}, |
| 200 | + "outputs": [], |
265 | 201 | "source": [
|
266 | 202 | "DC2DPseudoWidget()"
|
267 | 203 | ]
|
|
296 | 232 | },
|
297 | 233 | {
|
298 | 234 | "cell_type": "code",
|
299 |
| - "execution_count": 6, |
| 235 | + "execution_count": null, |
300 | 236 | "metadata": {},
|
301 |
| - "outputs": [ |
302 |
| - { |
303 |
| - "data": { |
304 |
| - "application/vnd.jupyter.widget-view+json": { |
305 |
| - "model_id": "79e1c6477a08484db56eb9cd47a1916a", |
306 |
| - "version_major": 2, |
307 |
| - "version_minor": 0 |
308 |
| - }, |
309 |
| - "text/plain": [ |
310 |
| - "MyApp(children=(BoundedFloatText(value=1000.0, description='$\\\\rho_1$', max=1000.0, min=10.0), BoundedFloatTex…" |
311 |
| - ] |
312 |
| - }, |
313 |
| - "metadata": {}, |
314 |
| - "output_type": "display_data" |
315 |
| - } |
316 |
| - ], |
| 237 | + "outputs": [], |
317 | 238 | "source": [
|
318 | 239 | "DC2DfwdWidget()"
|
319 | 240 | ]
|
|
343 | 264 | "name": "python",
|
344 | 265 | "nbconvert_exporter": "python",
|
345 | 266 | "pygments_lexer": "ipython3",
|
346 |
| - "version": "3.9.13" |
| 267 | + "version": "3.11.10" |
347 | 268 | },
|
348 | 269 | "widgets": {
|
349 | 270 | "state": {
|
|
366 | 287 | }
|
367 | 288 | },
|
368 | 289 | "nbformat": 4,
|
369 |
| - "nbformat_minor": 1 |
| 290 | + "nbformat_minor": 4 |
370 | 291 | }
|
0 commit comments