Skip to content

Commit

Permalink
Fix some typos in 01-forward-dc-resisitivity-2d.ipynb (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
MGomezN authored Jan 24, 2024
1 parent a7ca54e commit 04d2edd
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions notebooks/01-forward-dc-resisitivity-2d.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"This tutorial demonstrates forward simulation of DC resistivity data with SimPEG. We define surface topography, survey geometry and subsurface electrical resistivity for a 2.5D geometry. We use this information to simulate normalized voltage data.\n",
"This tutorial demonstrates the forward simulation of DC resistivity data with SimPEG. We define surface topography, survey geometry, and subsurface electrical resistivity for a 2.5D geometry. We use this information to simulate normalized voltage data.\n",
"\n",
"The following items are dicussed in this tutorial:\n",
"The following items are discussed in this tutorial:\n",
"\n",
"- Defining surface topography.\n",
"- Defining surveys within SimPEG.\n",
Expand Down Expand Up @@ -143,7 +143,7 @@
"- [sources](https://docs.simpeg.xyz/content/api/SimPEG.electromagnetics.static.resistivity.html#sources): which defines the locations of the current (or AB) electrodes, and their associated receivers. *Note only A electrode locations are needed to define pole sources*.\n",
"- [survey](https://docs.simpeg.xyz/content/api/SimPEG.electromagnetics.static.resistivity.html#survey): the object which stores and organizes all of the sources and receivers.\n",
"\n",
"Using SimPEG, there are three approaches one might use to generate the a 2.5D resistivity survey.\n",
"Using SimPEG, there are three approaches one might use to generate a 2.5D resistivity survey.\n",
"\n",
"1. Define the source objects and associated receiver objects manually within a for loop, then assign to a survey\n",
"2. Use the [generate_survey_from_abmn_locations](https://docs.simpeg.xyz/content/api/generated/SimPEG.electromagnetics.static.utils.generate_survey_from_abmn_locations.html#SimPEG.electromagnetics.static.utils.generate_survey_from_abmn_locations) to generate the survey automatically from a set of A, B, M, N electrode locations.\n",
Expand Down Expand Up @@ -215,7 +215,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"We can plot the pseudo-locations to get an idea of where in the Earth's we are sampling. Shifting the electrode locations laterally gives us horizontal information. Larger electrode spacings gives us information at depth."
"We can plot the pseudo-locations to get an idea of where on the Earth we are sampling. Shifting the electrode locations laterally gives us horizontal information. Larger electrode spacings gives us information at depth."
]
},
{
Expand Down Expand Up @@ -408,7 +408,7 @@
"source": [
"### <span style=\"color:darkgreen\">Exercise (beginner):</span>\n",
"\n",
"The mesh is another object whose properties we can extract. Try to exctract the following properties from the mesh:\n",
"The mesh is another object whose properties we can extract. Try to extract the following properties from the mesh:\n",
"\n",
"- the total number of cells\n",
"- the number of x-faces\n",
Expand Down Expand Up @@ -441,7 +441,7 @@
"source": [
"print(\"# of cells: {}\".format(mesh.n_cells)) # Number of cells\n",
"print(\"# of x-faces: {}\".format(mesh.n_faces_x)) # Number of x-faces\n",
"print(\"Origin: {}\".format(mesh.origin)) # bottom-southewest corner\n",
"print(\"Origin: {}\".format(mesh.origin)) # bottom-southwest corner\n",
"print(\"Max cell volume: {}\".format(mesh.cell_volumes.max())) # Largest cell size\n",
"print(mesh.cell_centers[0:5, :]) # Cell center locations"
]
Expand Down Expand Up @@ -556,7 +556,7 @@
}
],
"source": [
"# Generate a mapping to ignore inactice cells in plot\n",
"# Generate a mapping to ignore inactive cells in plot\n",
"plotting_map = maps.InjectActiveCells(mesh, active_cells, np.nan)\n",
"\n",
"fig = plt.figure(figsize=(7, 3))\n",
Expand Down Expand Up @@ -811,7 +811,7 @@
"source": [
"## Optional: Write out dpred\n",
"\n",
"Write DC resistivity data, topography and true model\n",
"Write DC resistivity data, topography, and true model\n",
"\n",
"\n"
]
Expand Down

0 comments on commit 04d2edd

Please sign in to comment.