Skip to main content

Python package for focal mechanism stress inversions

Project description

pySATSI

Python package for focal mechanism stress inversions.

Author: Robert Skoumal, U.S. Geological Survey | rskoumal@usgs.gov

This project contains Python code to compute damped stress inversions using earthquake focal mechanism solutions.

How to Use

1. Install the latest release in your virtual environment:

# If you don't want to create any plots:
pip install -U pySATSI

# If you do want to create plots:
pip install -U 'pySATSI[plot]'

Python 3.8+ versions are supported.

2. Run pySATSI with your desired control file:

pySATSI path_to/control_file.txt

More information

Running examples

A variety of examples are provided in the repository. It's recommended you play around with these examples to learn about some of the features.

  1. Download the examples folder available HERE.
  2. Unzip the folder.
  3. Navigate to the examples folder you just downloaded, e.g.: cd examples
  4. Run pySATSI with the example of your choice, e.g.: pySATSI 0D/control_file.txt

Manual

Refer to the manual or the wiki for additional information about running the code.

Citation

Please cite our paper if you use anything in this project:

  • Skoumal, R.J., Hardebeck, J.L., Michael, A.J. (in review). pySATSI: A Python package for computing focal mechanism stress inversions. Seismological Research Letters.

Significant portions of this algorithm are based on SATSI:

  • Hardebeck, J.L., & Michael, A.J. (2006). Damped regional‐scale stress inversions: Methodology and examples for southern California and the Coalinga aftershock sequence. Journal of Geophysical Research: Solid Earth, 111(B11). https://doi.org/10.1029/2005JB004144

License and Disclaimer

License: This project is in the public domain.

Disclaimer: This software is preliminary or provisional and is subject to revision.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pysatsi-0.2.1.tar.gz (45.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pysatsi-0.2.1-py3-none-any.whl (50.7 kB view details)

Uploaded Python 3

File details

Details for the file pysatsi-0.2.1.tar.gz.

File metadata

  • Download URL: pysatsi-0.2.1.tar.gz
  • Upload date:
  • Size: 45.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.20

File hashes

Hashes for pysatsi-0.2.1.tar.gz
Algorithm Hash digest
SHA256 c6ceb7ce498617ca8c9704a8c8c54a929a4144cacf46c8d400f9853baf19f748
MD5 2e75e07f5d3f4af648092d18047047c3
BLAKE2b-256 cc006d3771f073efeb50cdd0ed29eff867aa4d969233a6b0e5952f45643ec48c

See more details on using hashes here.

File details

Details for the file pysatsi-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: pysatsi-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 50.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.20

File hashes

Hashes for pysatsi-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 034c50b08bbb5540f7addeefe59327a53fd17188d0148721bcb4428aec6bce72
MD5 24a6d531f15723905e597b8ca62afa9c
BLAKE2b-256 90c389f46ced355f9fdd5caf3224313c0bc2c038ddbdd5280b492a6c8e9f2d35

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page