Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dc2d app #21

Open
wants to merge 17 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
add int
  • Loading branch information
sgkang committed Sep 19, 2019
commit ea999677c50fdd97f9f2d68177cb8de6c9c5e35c
2 changes: 1 addition & 1 deletion geoscilabs/inversion/DCResistivity.py
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ def run_inversion(
alpha_s=alpha_s,
alpha_x=alpha_x,
alpha_y=alpha_z,
mapping=Maps.IdentityMap(nP=self.actind.sum()),
mapping=Maps.IdentityMap(nP=np.int(self.actind.sum())),
mref=mref
)
# Personal preference for this solver with a Jacobi preconditioner
Expand Down
12 changes: 6 additions & 6 deletions notebooks/inversion/2D-DC-Resistivity-Inversion.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "95c72b6c13d148bbafcb62bb91703aa4",
"model_id": "1e1700dbe8ef44768ea6f7076857d6df",
"version_major": 2,
"version_minor": 0
},
Expand Down Expand Up @@ -87,7 +87,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "fe73fcd15bd041f781f35ac1cd01d5d7",
"model_id": "4b5e133615ee4410bb8a7bfdd9100952",
"version_major": 2,
"version_minor": 0
},
Expand Down Expand Up @@ -123,7 +123,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "60267b09c6b640299a15707a9ae85a58",
"model_id": "9e002c3af5af448299d118ba074d56bd",
"version_major": 2,
"version_minor": 0
},
Expand Down Expand Up @@ -166,7 +166,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "c4debe4d5b1d43b38bb2f738be9d1c08",
"model_id": "ef31606656db483dbf940d3188090119",
"version_major": 2,
"version_minor": 0
},
Expand Down Expand Up @@ -198,15 +198,15 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 6,
"metadata": {
"scrolled": false
},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "ad4b44c6b7644f6d886b4a9e70ec12e8",
"model_id": "52cfc9c6dd0e40dfafb50583af4f7480",
"version_major": 2,
"version_minor": 0
},
Expand Down
4 changes: 2 additions & 2 deletions notebooks/inversion/2D-DC-Resistivity-Simulation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "7ebfde30da494e2d8cb6fdd5819643ca",
"model_id": "82cbcb68bcdc43fc89c14e3c5a3a78e8",
"version_major": 2,
"version_minor": 0
},
Expand Down Expand Up @@ -103,7 +103,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "125420607aa54c22858a929376a212a4",
"model_id": "a4e68418f879455e811fd20ec41a213f",
"version_major": 2,
"version_minor": 0
},
Expand Down