Skip to main content

Calculation of permanent displacements in slopes by the Newmark's method

Project description

Welcome to the pyNewmarkDisp repo and docs

made-with-python PyPI repo MIT License Docs

pyNewmarkDisp is an application software in Python to calculate permanent displacements in shallow earthquake-triggered landslides by the Newmark sliding block method.

In this repo and in the package doumentation you will find the source code, instructions for installation, docstrings, examples of use, development history track, and references.

Installation

It is suggested to create a virtual environment to install and use the program.

Stable release

We recommend installing pyNewmarkDisp from PyPI, as it will always install the most recent stable release. To do so, run this command in your terminal:

pip install pynewmarkdisp

From sources

The sources for pyNewmarkDisp can be downloaded from the Github repo. You can clone the public repository running the following command:

git clone git://github.com/eamontoyaa/pynewmarkdisp

Once you have a copy of the source code, you can install it with the following instruction:

pip install -e .

Dependencies

The code was written in Python 3.9. The packages numpy, matplotlib, scipy, and numba are required for using pynewmarkdisp. They should be installed along with the package, however, all of them can also be manually installed from the PyPI repository by opening a terminal and typing the following code lines:

pip install numpy==1.22.4
pip install matplotlib==3.7.1
pip install scipy==1.9.0
pip install numba==0.56.4

Citation

To cite pyNewmarkDisp in publications, use the following temporary reference (until an associated article is published):

Montoya-Araque, E. A., Montoya-Noguera, S., & Lopez-Caballero, F. (202X). An open-source application software for spatial prediction of permanent displacements in earthquake-induced landslides by the Newmark sliding block method: pyNewmarkDisp v0.1.0. url=https://github.com/eamontoyaa/pyNewmarkDisp

A BibTeX entry for LaTeX users is:

@software{MontoyaAraque_etal_202X,
author = {Montoya-Araque, Exneyder A. and Montoya-Noguera, Silvana and Lopez-Caballero, Fernando},
title = {{An open-source application software for spatial prediction of permanent displacements in earthquake-induced landslides by the Newmark sliding block method: \texttt{pyNewmarkDisp}}},
version = {v0.1.0},
url = {https://github.com/eamontoyaa/pyNewmarkDisp},
year = {202X}
}

License

pyNewmarkDisp is a free and open-source application sorfware licensed under the terms of the MIT license. The following is a copy of the license:

{!LICENSE!}

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

pynewmarkdisp-0.1.0.tar.gz (801.8 kB view hashes)

Uploaded Source

Built Distribution

pynewmarkdisp-0.1.0-py3-none-any.whl (16.4 kB view hashes)

Uploaded Python 3

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