Skip to main content

Python code for calculating sliding block displacements (based on the USGS software SLAMMER).

Project description

pySLAMMER

Python code for calculating sliding block displacements. As the name indicates, this program is based on the USGS software SLAMMER[^1].

Currently, pySLAMMER is in development.

When finished, this code should be able to replicate the rigorous analysis provided by SLAMMER and provide more robust output (e.g., arrays of relative displacement time history instead of raster images). More importantly, pySLAMMER will be a python module that users can install and access using familiar syntax (i.e.,pip install pySLAMMER and import pySLAMMER as slam).

pySLAMMER includes the following sliding block models:

  • Rigid (i.e., traditional Newmark analysis[^2] as implemented by Jibson (1993)[^3])
  • Decoupled (per Makdisi and Seed 1978[^4])
  • Coupled (described by Chopra and Zhang (1991)[^5] and modified by Rathje and Bray (1999)[^6])

Verification

The pySLAMMER models will be verified by comparison with SLAMMER results using equivalent input parameters.

Examples

Example use cases will be demonstrated using Jupyter workbooks.

Use cases

PySLAMMER is being developed with large- and small-scale use cases in mind, with potential applications in research, teaching, and practice. The ability to run sliding block simulations in batches will lend itself to large-scale simulations in research and practice, both spatially (e.g., for regional hazard analysis) and parametrically (e.g., for probabilistic analsysis). Small-scale analyses (i.e., running a single scenario or a small set of senarios with limited variablity) will, of course, also be possible. These use cases may be appropriate for teaching and learning, or exploratory work in reasearch and practice. Particularly when it comes to teaching and learning, the ability to visualize and inspect analysis output is important. And coding proficiency may be a barrier to use. Although there are currently no plans for a standalone graphical user interface (GUI) for pySLAMMER, the example Jupyter notebooks will be designed to be accessible to those with little-to-no coding experience.

[^1]: Jibson, R.W., Rathje, E.M., Jibson, M.W., and Lee, Y.W., 2013, SLAMMER—Seismic LAndslide Movement Modeled using Earthquake Records (ver.1.1, November 2014): U.S. Geological Survey Techniques and Methods, book 12, chap. B1, unpaged. https://pubs.usgs.gov/tm/12b1/

[^2]: Newmark, N. M. (1965). Effects of Earthquakes on Dams and Embankments. Geotechnique, 15(2), 139–160.

[^3]: Jibson, R. W. (1993). Predicting Earthquake-Induced Landslide Displacements Using Newmark’s Sliding Block Analysis. Transportation Research Record, 1411. https://trid.trb.org/view/384547

[^4]: Makdisi, F. I., & Seed, H. B. (1978). Simplified Procedure for Estimating Dam and Embankment Earthquake-Induced Deformations. Journal of the Geotechnical Engineering Division, 104(7), 849–867. https://doi.org/10.1061/AJGEB6.0000668

[^5]:Chopra, A. K., & Zhang, L. (1991). Earthquake‐Induced Base Sliding of Concrete Gravity Dams. Journal of Structural Engineering, 117(12), 3698–3719. https://doi.org/10.1061/(ASCE)0733-9445(1991)117:12(3698)

[^6]:Rathje, E. M., & Bray, J. D. (1999). An examination of simplified earthquake-induced displacement procedures for earth structures. Canadian Geotechnical Journal, 36(1), 72–87. https://doi.org/10.1139/cgj-36-1-72

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

pyslammer-0.1.19.tar.gz (1.0 MB view details)

Uploaded Source

Built Distribution

pyslammer-0.1.19-py2.py3-none-any.whl (1.0 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file pyslammer-0.1.19.tar.gz.

File metadata

  • Download URL: pyslammer-0.1.19.tar.gz
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pyslammer-0.1.19.tar.gz
Algorithm Hash digest
SHA256 a719ccb8d88a623233e75beeb3c32cc1e240f68afd4e9bfaeef4e3ddf19d9cdb
MD5 e4f5ddde5911dfb162e21841dba0b9b8
BLAKE2b-256 e185ae9443e1cf8e81dd3072cb8e07db7ed9386f041a4e121c64b451114f0588

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyslammer-0.1.19.tar.gz:

Publisher: release.yml on lornearnold/pyslammer

Attestations:

File details

Details for the file pyslammer-0.1.19-py2.py3-none-any.whl.

File metadata

  • Download URL: pyslammer-0.1.19-py2.py3-none-any.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pyslammer-0.1.19-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9f7cdb1bf0dbdb884a51cc2a2211b212dc7a9b3e3fd817e4931ce09ef2a5f619
MD5 ef04716824773ccd2efc85f71d8ce74d
BLAKE2b-256 8c0c892f62a4cbd759c9971a521ce6b797b775bb6cf277371ab6ff7c342a09ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyslammer-0.1.19-py2.py3-none-any.whl:

Publisher: release.yml on lornearnold/pyslammer

Attestations:

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page