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.5

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.5
File Size Uploaded
pysatsi-0.2.5.tar.gz 45.8 kB Details

Built distribution (wheel)

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

Total release size: 96.7 kB

Release files / pysatsi-0.2.5.tar.gz

Download URL pysatsi-0.2.5.tar.gz
Size 45.8 kB
Tags Source
SHA-256 checksum
How to use checksums
58133081fc17a4347aa4437075d7855a4ef76c70558a62efa78c3880b4a77c34
BLAKE2b-256 checksum
How to use checksums
3cacf847e47e95d1e78ead6f7d815b95a2b5f061d8408504c0b1694e4bfa39b1
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.5-py3-none-any.whl

Download URL pysatsi-0.2.5-py3-none-any.whl
Size 50.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
72f1e9787e76ee310216483b56de56cbba1defb4f7fe19882450e96b635e3efe
BLAKE2b-256 checksum
How to use checksums
acbf7149f7a5dabe2e31af8372fbee38ffd6fe7b831e45c80e31a1b1f99e66d5
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

0.2.6

2 release files

This release

0.2.5 This release

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