Tutorials and examples for applied geophysics!
Clone or download
Latest commit f7a8fcc Nov 17, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Notebooks
assets
figures boilerplate, setup init files for DC Jun 16, 2017
gpgLabs change names of relative response functions Nov 16, 2018
images add an index notebook, update readme Aug 31, 2016
tests improve testing so that full traceback is provided on fails Jun 14, 2017
.bumpversion.cfg Bump version: 0.0.11 → 0.0.12 Oct 26, 2018
.gitignore add sublime Aug 29, 2018
.travis.yml allow longer time on travis Sep 6, 2017
LICENSE boilerplate, setup init files for DC Jun 16, 2017
MANIFEST.in boilerplate, setup init files for DC Jun 16, 2017
Makefile boilerplate, setup init files for DC Jun 16, 2017
README.md replace readme.rst Aug 22, 2018
credentials.tar.gz.enc
environment.yml fix version of matplotlib Sep 20, 2018
requirements.txt replace requirements.txt Jul 21, 2017
setup.py Bump version: 0.0.11 → 0.0.12 Oct 26, 2018

README.md

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

gpgLabs

binder travis SimPEG

Overview

This is a repo of interactive examples for http://gpg.geosci.xyz.

The notebooks are available on

Launching the notebooks

The notebooks can be run online through Binder, 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/geoscixyz/gpgLabs/master?filepath=Notebooks%2Findex.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

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/geoscixyz/gpgLabs.git

Then cd into gpgLabs

cd gpgLabs

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

conda env create -f environment.yml
source activate em-apps-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.

For Contributors

Notebook Structure

Each notebook has the following structure

  • Purpose : Motivation and key concepts addressed by the notebook
  • Setup : Overview of the relevant parameters in the problem
  • Questions : Guiding questions related to the purpose
  • App : interactive visualizations
  • Explore : further questions that can be explored with the app

Setting up your environment