Skip to content

Commit 825fff0

Browse files
authored
Merge pull request #77 from geoscixyz/MagLabCleanup
Mag_FitProfile notebook cleanup
2 parents 2602146 + 634af63 commit 825fff0

File tree

1 file changed

+38
-18
lines changed

1 file changed

+38
-18
lines changed

Notebooks/Mag_FitProfile.ipynb

Lines changed: 38 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -61,18 +61,20 @@
6161
"- dx: width or prism in x-direction (m)\n",
6262
"- dy: width of prism in y-direction (m)\n",
6363
"- dz: vertical extent of prism (m)\n",
64-
"- depth: depth to the top of the prism (m)\n",
65-
"- pinc: inclination of the prism (reference is a unit northing vector; degrees)\n",
66-
"- pdec: declination of the prism (reference is a unit northing vector; degrees)\n",
64+
"- x0: x location of the center of the prism (m)\n",
65+
"- y0: y location of the center of the prism (m)\n",
66+
"- elev: depth to the top of the prism (m)\n",
67+
"- prism_inc: inclination of the prism (reference is a unit northing vector; degrees)\n",
68+
"- prism_dec: declination of the prism (reference is a unit northing vector; degrees)\n",
69+
"- View_dip: dip angle of view (degrees)\n",
6770
"- View_elev: elevation of view (degrees)\n",
6871
"- View_azim: azimuth of view (degrees)"
6972
]
7073
},
7174
{
7275
"cell_type": "code",
73-
"execution_count": null,
76+
"execution_count": 1,
7477
"metadata": {
75-
"collapsed": true,
7678
"extensions": {
7779
"jupyter_dashboards": {
7880
"version": 1,
@@ -100,9 +102,19 @@
100102
},
101103
{
102104
"cell_type": "code",
103-
"execution_count": null,
105+
"execution_count": 2,
104106
"metadata": {},
105-
"outputs": [],
107+
"outputs": [
108+
{
109+
"data": {
110+
"application/vnd.jupyter.widget-view+json": {
111+
"model_id": "f77f66f46df34d2ca8f4b2dceca29052"
112+
}
113+
},
114+
"metadata": {},
115+
"output_type": "display_data"
116+
}
117+
],
106118
"source": [
107119
"#Input parameters\n",
108120
"fileName = 'http://github.com/geoscixyz/gpgLabs/raw/master/assets/Mag/data/Lab1_Wednesday_TA.csv'\n",
@@ -121,23 +133,21 @@
121133
"metadata": {},
122134
"source": [
123135
"## Fit the data\n",
124-
"\n",
125-
"- data: data set to load\n",
126-
" - MonSt: Monday Student data\n",
127-
" - WedTA: Wednesday TA data\n",
128-
" - WedSt: Wednesday Student data\n",
129-
"- B0: background field (nT) to be subtracted from the data to define the anomaly\n",
130-
"- x0: center of the rebar (along-line) \n",
131-
"- depth: depth to the top of the rebar (m)\n",
136+
"- Binc: Inclination of the Earth's background field (degree)\n",
137+
"- Bdec: Declination of the Earth's background field (degree)\n",
138+
"- Bigrf: Strength of the Earth's background field (nT) \n",
139+
"- depth: vertical distance from the sensor to the top of the rebar (m)\n",
132140
"- susc: magnetic susceptibility\n",
141+
"- comp: Total field (tf) of component of the field to plot\n",
142+
"- irt: Type of magnetization \n",
133143
"- Q: Koenigsberger ratio ($\\frac{M_{rem}}{M_{ind}}$)\n",
134144
"- rinc: inclination of the remanent magnetization (degree)\n",
135145
"- rdec: declination of the remanent magnetization (degree)"
136146
]
137147
},
138148
{
139149
"cell_type": "code",
140-
"execution_count": null,
150+
"execution_count": 3,
141151
"metadata": {
142152
"extensions": {
143153
"jupyter_dashboards": {
@@ -158,7 +168,17 @@
158168
},
159169
"scrolled": false
160170
},
161-
"outputs": [],
171+
"outputs": [
172+
{
173+
"data": {
174+
"application/vnd.jupyter.widget-view+json": {
175+
"model_id": "957fd687fef84fff9747c1b4fa72d401"
176+
}
177+
},
178+
"metadata": {},
179+
"output_type": "display_data"
180+
}
181+
],
162182
"source": [
163183
"Q = Simulator.fitline(model,survey)\n",
164184
"display(Q)"
@@ -221,7 +241,7 @@
221241
"name": "python",
222242
"nbconvert_exporter": "python",
223243
"pygments_lexer": "ipython3",
224-
"version": "3.6.0"
244+
"version": "3.6.1"
225245
},
226246
"widgets": {
227247
"state": {

0 commit comments

Comments
 (0)