Okada implementation in Python
This is a python implementation of the solution proposed by Okada in 1992. Please cite:
Okada, Y. (1992), Internal deformation due to shear and tensile faults in a half-space, Bulletin of the Seismological Society of America, 82(2), 1018–1040.
Dr Leah Langer kindly implemented her receiver elevation correction to provide a first order correction of the effect of topography on the evaluation of Green's functions. If you use this, please cite (and read) this paper: doi: 10.1016/j.tecto.2020.228566
This installation requires meson. Install meson and meson-python first (check it out with pip).
meson setup builddir --prefix /My/complete/path/to/the/install/dir
meson compile -C builddir
meson install -C builddir
Then update your PYTHONPATH variable to have it visible for python. In your .bashrc, it would look like : export PYTHONPATH=/My/complete/path/to/the/install/dir:$PYTHONPATH
meson setup builddir --prefix=$(python3 -c "import site; print(site.getsitepackages()[0])")
meson compile -C builddir
meson install -C builddir