Skip to content

Commit

Permalink
Merge branch '2024' into updates_MM
Browse files Browse the repository at this point in the history
  • Loading branch information
micmitch committed Oct 30, 2024
2 parents 2762a49 + 98463c4 commit 50906cf
Show file tree
Hide file tree
Showing 10 changed files with 1,539 additions and 48 deletions.
40 changes: 6 additions & 34 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@
| | Info |
|--------:|:-----|
| When | October 18-20th 2022|
| | October 28-Nov 1 2024|
| conda environment | `em` |
| Slides | [MT inversion](https://www.dropbox.com/sh/u87ft0xtj0fnc0e/AAC_44EIhLWAXto1KAkogoKWa?dl=0) |

**Team**
- [Seogi Kang](https://github.com/sgkang) (Instructor)
- [Jared Peacock](https://github.com/kujaku11) (Instructor)
- [Karl Kappler](https://github.com/kkappler) (Instructor)
- [Lindsey Heagy](http://github.com/lheagy)
- [Mike Mitchell]()(Instructor)
- [Paul Bedrosian]()
- and the [SimPEG contributors](https://github.com/simpeg/simpeg/graphs/contributors)


Expand All @@ -40,7 +42,7 @@ This set of tutorials focus on providing hands-on examples of downloading, proce
* Some knowledge of Python is assumed.
* All coding will be done in Jupyter notebooks. I'll explain how they work
briefly but it will help if you've used them before.
* We will ll use [numpy](https://numpy.org/), [matplotlib](https://matplotlib.org/), and
* We will use [numpy](https://numpy.org/), [matplotlib](https://matplotlib.org/), and
[ipywidgets](https://ipywidgets.readthedocs.io/)
You don't need to be an expert in these tools but some familiarity will help.

Expand All @@ -52,7 +54,7 @@ Then run
```
git clone https://github.com/simpeg-research/earthscope-mt-course.git
```
to clone the repository, and `cd` into the `earthscope-mt-course-2022` directory
to clone the repository, and `cd` into the `earthscope-mt-course-2024` directory
```
cd earthscope-mt-course
```
Expand All @@ -67,38 +69,8 @@ and activate the environment
```
conda activate em
```
```
cd ..
```

### Step 3: Install `mt_metadata`, `MTH5`, `MTpy-v2`, `aurora`, `SimPEG`

Note that installing `mtpy-v2` will install `mt_metadata`, `mth5`, `SimPEG` and `MTpy-v2`


Then instal `mtpy`
```
git clone https://github.com/MTgeophysics/mtpy-v2.git
```
```
cd mtpy-v2
```
```
git checkout -f updates
```
```
pip install -e .
```

```
cd ..
```

```
cd earthscope-mt-course
```

### Step 4: Launching the notebooks
### Step 3: Launching the notebooks

Once you have activated the conda environment, you can launch the notebooks
```
Expand Down
18 changes: 10 additions & 8 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,20 @@ channels:
- conda-forge
- defaults
dependencies:
- matplotlib
- numpy=1.26
- python=3.10
- git
- pip
- simpeg
- dill
- jupyterlab
- ipywidgets
- mkl-devel
- pkg-config
- cmake
- cython
- ninja
- pip:
- aurora
- matplotlib
- simpeg>=0.22
- mtpy-v2>=2.0.12
- pydiso
- dill
- jupyterlab
- ipywidgets


1,296 changes: 1,296 additions & 0 deletions notebooks/aurora/00_overview.ipynb

Large diffs are not rendered by default.

115 changes: 112 additions & 3 deletions notebooks/aurora/13_add_noise_and_process.ipynb

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions notebooks/aurora/auxiliary/tf_calculation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@
"= \n",
"\\begin{bmatrix} Z_{xx} & Z_{xy} \\\\ Z_{yx} & Z_{yy} \\\\ T_{x} & T_{y} \\end{bmatrix} \n",
"\\begin{bmatrix} H_x \\\\ H_y \\end{bmatrix}\n",
"\\label{eq:MTTF} \\tag{1}\n",
"\\label{eq:1} \\tag{1}\n",
"\\end{equation*}\n",
"\n",
"\n",
"The fundamental TF relationship is defined by equation $\\eqref{eq:MTTF}$. The elements of the 3x2 tensor $Z_{ij}$ and $T_i$ are 9theroetically) invariants for a fixed measurement location for simultaneous measurements of $E.\n",
"The fundamental TF relationship is defined by equation $\\eqref{eq:1}$. The elements of the 3x2 tensor $Z_{ij}$ and $T_i$ are (theoretically) invariants for a fixed measurement location for simultaneous measurements of $E.\n",
"\n",
"*Note that we can regress on $H_x, H_y$ as if they were \"inputs\" and the $E_x, E_y, H_z$ were \"output\" even though physically the $H_x, H_y$ may be some combination of input and output. \n"
]
Expand Down Expand Up @@ -1248,7 +1248,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.10"
"version": "3.9.19"
}
},
"nbformat": 4,
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions notebooks/aurora/present_slides.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
jupyter nbconvert 00_overview.ipynb --to slides --post serve --no-input --no-prompt
111 changes: 111 additions & 0 deletions notebooks/mtpy/01a_downloading_from_spud.ipynb

Large diffs are not rendered by default.

0 comments on commit 50906cf

Please sign in to comment.