Skip to content

Commit ba6164c

Browse files
authored
Rerun notebooks with SimPEG v0.21 (#21)
Bump SimPEG version in `environment.yml` and `index.md`. Replace deprecated magnetic's `SourceField` for `UniformBackgroundField`, `indActive` for `active_cells`, and `everyIter` for `every_iteration` in `notebooks/11-joint-inversion/plot_inv_3_cross_gradient_pf.ipynb`. Rerun all notebooks with SimPEG v0.21.
1 parent 9e77aaf commit ba6164c

32 files changed

+13034
-3257
lines changed

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ dependencies:
99
# Notebook requirements
1010
- jupyter
1111
- nbconvert
12-
- SimPEG==0.20.*
12+
- SimPEG==0.21.*
1313
- discretize==0.10.*
1414
- pymatsolver

index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ 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.20. Please, make sure
13+
These user tutorials are meant to be run with SimPEG v0.21. Please, make sure
1414
you have this version installed.
1515
:::
1616

@@ -38,7 +38,7 @@ SimPEG user tutorials provide a learning resource beyond a simple set of reprodu
3838
:align: center
3939
```
4040

41-
**1. What SimPEG objects represent:** All of the components required to perform forward simulations and inversions with SimPEG (e.g. transmitters, receivers, meshes, regularizations) are defined as objects within the SimPEG framework. When defining new objects within each tutorial, we aim to provide some detail as to what component of the forward simulation or inversion was created.
41+
**1. What SimPEG objects represent:** All of the components required to perform forward simulations and inversions with SimPEG (e.g. transmitters, receivers, meshes, regularizations) are defined as objects within the SimPEG framework. When defining new objects within each tutorial, we aim to provide some detail as to what component of the forward simulation or inversion was created.
4242

4343
**2. Creating objects in SimPEG:** A multitude of required and optional input arguments are set when creating objects within SimPEG. The proper syntax for setting input arguments is provided. The user will also learn the order in which objects are generally created for standard forward modeling and inversion.
4444

@@ -68,7 +68,7 @@ How do I access user tutorials?
6868
What tutorials should I start with?
6969
-----------------------------------
7070

71-
User tutorials cover introductory, intermediate and advanced topics within the SimPEG framework. We advise new users to start with introductory tutorials before working their way towards those that are more advanced. For most geophysical methods (e.g. gravity, magnetics, DC resistivity), there is an introductory level tutorial. At the beginning of each tutorial page, one of the following admonitions is used to state the difficulty level and suggested minimum proficiency with SimPEG.
71+
User tutorials cover introductory, intermediate and advanced topics within the SimPEG framework. We advise new users to start with introductory tutorials before working their way towards those that are more advanced. For most geophysical methods (e.g. gravity, magnetics, DC resistivity), there is an introductory level tutorial. At the beginning of each tutorial page, one of the following admonitions is used to state the difficulty level and suggested minimum proficiency with SimPEG.
7272

7373

7474
```{admonition} Introductory notebook
@@ -78,7 +78,7 @@ This tutorial teaches basic functionality within SimPEG and is a good entry poin
7878

7979
```{admonition} Intermediate notebook
8080
:class: caution
81-
This tutorial focusses on intermediate level functionality within SimPEG. Basic functionality within SimPEG is not discussed in detail, as we assume the user is already familiar.
81+
This tutorial focusses on intermediate level functionality within SimPEG. Basic functionality within SimPEG is not discussed in detail, as we assume the user is already familiar.
8282
```
8383

8484
```{admonition} Advanced notebook

notebooks/03-gravity/fwd_gravity_anomaly_3d.ipynb

Lines changed: 165 additions & 34 deletions
Large diffs are not rendered by default.

notebooks/03-gravity/fwd_gravity_gradiometry_3d.ipynb

Lines changed: 169 additions & 36 deletions
Large diffs are not rendered by default.

notebooks/03-gravity/inv_gravity_anomaly_3d.ipynb

Lines changed: 685 additions & 105 deletions
Large diffs are not rendered by default.

notebooks/04-magnetics/fwd_magnetics_induced_3d.ipynb

Lines changed: 168 additions & 35 deletions
Large diffs are not rendered by default.

notebooks/04-magnetics/fwd_magnetics_mvi_3d.ipynb

Lines changed: 180 additions & 35 deletions
Large diffs are not rendered by default.

notebooks/04-magnetics/inv_magnetics_induced_3d.ipynb

Lines changed: 639 additions & 99 deletions
Large diffs are not rendered by default.

notebooks/05-dcr/fwd_dcr_1d.ipynb

Lines changed: 91 additions & 14 deletions
Large diffs are not rendered by default.

notebooks/05-dcr/fwd_dcr_2d.ipynb

Lines changed: 211 additions & 36 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)