A collection of software useful for fault mechanics research
This is a collection of tools developed by Eric Daub in the course of doing fault mechanics research. It includes tools for the following tasks:
- Reading lab experiment data from Chris Marone's lab (the
biaxmodule) - Dealing with earthquake catalogs (the
catalogmodule) - Computing Coulomb stresses (the
coulombmodule) - Performing numerical integration (the
integrationmodule) - Generating fractal fault profiles (the
roughmodule - Reading files from the SRCMOD database (the
sourcemodule) - Computing stress changes using the boundary integral method (the
stressmodule) - Modeling friction using Shear Transformation Zone (STZ) Theory (the
stzmodule)
The code is provided with little documentation or verification, though there are a few unit tests of some of the functionality. These are provided in hopes that they might be useful to other researchers. If you find any bugs or other issues, please contact Eric Daub (edaub@turing.ac.uk).
Dependencies can be installed using the requirements.txt file:
$ pip install -r requirements.txt
The code can be installed in the usual way by running setup.py in the shell:
$ python setup.py install
Running the unit tests requires pytest. You can run the tests from anywhere in the
seistools directory by entering pytest in the shell. The tests for the coulomb
module are currently broken.