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.3.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.3-py3-none-any.whl (50.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pysatsi-0.2.3.tar.gz
Algorithm Hash digest
SHA256 4a98466055ebccfcecf58a58d4c4699a06673c63d91d911b42ba5a55a10df454
MD5 44ff1a8657e58dcaf4f2ac28cd5bfc44
BLAKE2b-256 c4a2499d2928db1fba3e8f80c3cb5f2787cca92d4b1e9a7ee76d40ba17cf7838

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pysatsi-0.2.3-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.2

File hashes

Hashes for pysatsi-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 24da49a27ccc03586b16be2d3149b6723521d84b0014b58ba5349f54d48738ca
MD5 e6e2f741e63c3d8445a136ab594071a1
BLAKE2b-256 cba072eea056b5f68e26d75771850fdbb0942243cebe73526aab0d77071a77c3

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