Skip to content

Instantly share code, notes, and snippets.

View rowanc1's full-sized avatar
🚀
Working on the future

Rowan Cockett rowanc1

🚀
Working on the future
View GitHub Profile
@rowanc1
rowanc1 / syntheticSeismogram.py
Created January 9, 2014 17:52
Generates a synthetic seismogram for a simple 1-D layered model.
import numpy as np
import matplotlib.pyplot as plt
def syntheticSeismogram(v, rho, d):
"""
function syntheticSeismogram()
syntheicSeismogram generates a synthetic seismogram for a simple 1-D
@rowanc1
rowanc1 / description.md
Last active January 2, 2016 08:39
SimPEG Tutorial - Linear Problem

In this tutorial we will create a simple linear problem from scratch using the SimPEG framework.

@rowanc1
rowanc1 / description.md
Last active January 2, 2016 08:38
Richards Equation - Comparison to Ceilia et al. 1990

There are two different forms of Richards equation that differ on how they deal with the non-linearity in the time-stepping term. Here we reproduce results from a seminal paper, and show the ease with which you can do this in SimPEG and Richards python packages.

@rowanc1
rowanc1 / table.m
Created December 3, 2013 18:18
This function will print an ASCII table, in matlab.
%% Print Table
%
% This function will print an ASCII table, for example:
%
% Decrease in Error, t_fo = 100
% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
% mu=0.1 mu=0.5 mu=1.0
% .--------------------------------------------
% h=0.01 | 8.692922e-01 8.530311e-01 4.018080e-01
% h=0.02 | 5.797046e-01 6.220551e-01 7.596669e-02