Skip to content

Commit c4d27dc

Browse files
authored
Update notebooks for SimPEG v0.23.0 (#30)
Collect changes required to update the tutorials to work with SimPEG v0.23.0. Use `choclo` as engine in gravity and magnetic simulations, and add it to the `environment.yml`. Replace `indActive` for `active_cells` in potential field simulations. Replace `Update_IRLS` for `UpdateIRLS`. Use `diagonal_balance=True` when defining a `TreeMesh`. Rely on the default solver capabilities. Bump SimPEG version in landing page and in the `environment.yml`. Use Numpy's RNG instead of global seeds. Include changes from #29, #31, #32, #33. Fixes #28
1 parent 3865bac commit c4d27dc

33 files changed

+6138
-4445
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ notebooks/**/*.txt
157157
notebooks/**/*.obs
158158
notebooks/**/*.xyz
159159
notebooks/**/*.gz
160+
notebooks/**/*.mod
161+
notebooks/**/*.ubc
160162

161163
# PyCharm
162164
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can

environment.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ dependencies:
1010
- jupyter
1111
- jupyterlab-myst
1212
- nbconvert
13-
- simpeg==0.22.*
14-
- discretize==0.10.*
13+
- simpeg==0.23.*
14+
- discretize==0.11.*
15+
- choclo==0.3.*
16+
- scikit-learn
1517
- pymatsolver
1618
# Code quality
1719
- nbqa

index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ SimPEG user tutorials is the place for those who have [installed SimPEG](https:/
1010

1111

1212
:::{caution} Caution
13-
These user tutorials are meant to be run with SimPEG v0.22. Please, make sure
14-
you have this version installed.
13+
These user tutorials are meant to be run with **SimPEG v0.23**.
14+
Please, make sure you have this version installed.
1515
:::
1616

1717

notebooks/03-gravity/fwd_gravity_anomaly_3d.ipynb

+102-101
Large diffs are not rendered by default.

notebooks/03-gravity/fwd_gravity_gradiometry_3d.ipynb

+109-101
Large diffs are not rendered by default.

notebooks/03-gravity/inv_gravity_anomaly_3d.ipynb

+245-245
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)