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[plots]

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. (in review). pySATSI: A Python package for computing focal mechanism stress inversions. Seismological Research Letters.

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pysatsi-0.2.0.tar.gz
Algorithm Hash digest
SHA256 bd539b56df044dca9944d1136792aee995262cb3bf1cd566bd23c4d339484a3c
MD5 3a65edead2842dac230bad1a72352293
BLAKE2b-256 0df60fc9e82e89aa4cb9fead4cfff77893403f3371211950d370d7588ead2dde

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pysatsi-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 da505b2d2b97f8dd78d7eb04d946bb507fa450bab0e85431b1e2dd01166dd9b2
MD5 78c0b895fc3dab51f26615e7ce70ab53
BLAKE2b-256 dd33ba17bd48b70968cee1a7d4e6c637c41c6917476d13e767664109dfb5de40

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