Skip to main content

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.

Metadata

Release files for pySATSI 0.2.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pySATSI 0.2.6
File Size Uploaded
pysatsi-0.2.6.tar.gz 45.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pySATSI 0.2.6
File Interpreter ABI Platform
pysatsi-0.2.6-py3-none-any.whl Python 3 none any Details

Total release size: 96.7 kB

Release files / pysatsi-0.2.6.tar.gz

Download URL pysatsi-0.2.6.tar.gz
Size 45.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1443d3da3dab598a65e7b60a4d04a6f8699d03fa6b98026004ffe52bf4097d0e
BLAKE2b-256 checksum
How to use checksums
305817ac850624378024e7bac7f9406651d7571ab6290aed08b98354449d2106
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.12

Release files / pysatsi-0.2.6-py3-none-any.whl

Download URL pysatsi-0.2.6-py3-none-any.whl
Size 50.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7f22ae3c2db6d1fd217f60ed45eac17a409a5ab2ceaa0784a195ccb1f788fd99
BLAKE2b-256 checksum
How to use checksums
e40ab1d103195287142990218af87f1c68ddfb295e7fa8aff11bdd0b17d57e92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.12

Release history Release notifications | RSS feed

This release

0.2.6 This release

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page