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. (2026). pySATSI: A Python package for computing focal mechanism stress inversions. Seismological Research Letters. https://doi.org/10.1785/0220250182

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.4.tar.gz (45.7 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.4-py3-none-any.whl (50.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pysatsi-0.2.4.tar.gz
  • Upload date:
  • Size: 45.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for pysatsi-0.2.4.tar.gz
Algorithm Hash digest
SHA256 2b6c3cf5a60d26150fbd7fa7fda34cca849479f1329b1826d84a1ba987f1a521
MD5 3e8825e559336ca7523fb84dd2d51c6e
BLAKE2b-256 53344bf134a7bf32741c8c21907c1dd58399763fdcecad063937ddef329bfbf9

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pysatsi-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c2745216eddbec80bc0cad26d2e2b945ce3857b9b83804189a196d3831aa6a73
MD5 c8c81526084eeeb4c3e3108acf3e52be
BLAKE2b-256 9d788e3fb85c1801e96ff7afb63bd954aa9a4d24cd0b618debbd3535815b5df0

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