a collection of jupyter notebooks that use SimPEG.EM
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images tdem example that can be distributed Jan 25, 2017
notebooks - add mkl (for using pymatsolver) Jul 23, 2018
tests use testipynb for tests Apr 5, 2018
.gitignore
.travis.yml extend travis wait time Jul 23, 2018
LICENSE Initial commit Jan 7, 2017
README.md Update README.md Jul 22, 2018
aznbsetup.sh update notebooks to follow the latest versions on azure, clean out th… Jul 22, 2018
dev-requirements.txt add nose to requirements Apr 5, 2018
environment.yml add pandas Jul 23, 2018
index.ipynb
requirements.txt add pymatsolver as requirement Apr 5, 2018

README.md

overview | launching the notebooks | running the notebooks | issues | contributing

em-notebooks

binder azure travis SimPEG

Overview

This is a repo of notebooks and interactive examples for http://em.geosci.xyz. They are tutorials on the use of SimPEG for forward modelling and inversion of DC, frequency domain EM, and time domain EM.

The notebooks are available on

Launching the notebooks

The notebooks can be run online through Binder or Azure notebooks, or downloaded and run locally.

Binder

Binder

  1. Launch the binder by clicking on the badge above or going to: https://mybinder.org/v2/gh/simpeg/em-notebooks/master?filepath=index.ipynb. This can sometimes take a couple minutes, so be patient...

  2. Select the notebook of interest from the contents

  3. Run the Jupyter notebook

Binder-steps

Azure

Azure

  1. Navigate to Azure notebooks by clicking on the badge above or going to: https://notebooks.azure.com/import/gh/simpeg/em-notebooks, and select Import to import the library

  2. Sign in to your microsoft account (or Create One if you do not already have an account)

  3. Create the new library: Select Import

  4. Select index.ipynb to view the notebook contents

  5. Select the notebook of interest from the contents

  6. Run the Jupyter notebook

Azure-steps

Locally

To run them locally, you will need to have python installed, preferably through anaconda.

You can then clone this reposiroty. From a command line, run

git clone https://github.com/simpeg/em-notebooks.git

Then cd into em-notebooks

cd em-notebooks

To setup your software environment, we recommend you use the provided conda environment

conda env create -f environment.yml
source activate em-notebooks-environment

alternatively, you can install dependencies through pypi

pip install -r requirements.txt

You can then launch Jupyter

jupyter notebook

Jupyter will then launch in your web-browser.

Running the notebooks

Each cell of code can be run with shift + enter or you can run the entire notebook by selecting cell, Run All in the toolbar.

cell-run-all

For more information on running Jupyter notebooks, see the Jupyter Documentation

Issues

If you run into problems or bugs, please let us know by creating an issue in this repository.