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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pysatsi-0.2.2.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.2.tar.gz
Algorithm Hash digest
SHA256 1892a662f9b65c9814ca5870b0007478f9ec5c3c0cb48fd69107b7fc2d91d40a
MD5 30b637e7ec864bb0fc08a13ad88a209e
BLAKE2b-256 9df47f53b940d4139b323d426f0adf231e90125660549b429eb9c42220c8a760

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pysatsi-0.2.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e2b3ccc9fbf6630d3bcf676cff06d829d61a4b3d0dc5b6f89999ee0f2223fbb8
MD5 43aa5c89d7dc3a700d42988b56d19756
BLAKE2b-256 e0c4247b3de63eb8a96759cb86bcbe467e2c5850f0d33811dd9642d3b9550c2d

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