Skip to main content

Site Response Analysis with Python

Project description


PyPi Cheese Shop Build Status Documentation Status Code Quality Test Coverage License Zenodo MyBinder

Site response analyses implemented in Python. This Python packages aims to implement many of the features found in Strata. These features include:

  • Input motion characterization:
    • Time series
    • Random vibration theory
  • Wave propagation or site amplification:
    • linear
    • equivalent-linear
    • equivalent-linear with frequency dependent properties
    • quarter wavelength
  • Nonlinear curve models:
    • Darendeli (2001)
    • Menq (2004)
    • Kishida (2012)
  • Site and soil property uncertainty:
    • Toro (1994) Vs correlation model
    • G/Gmax and D uncertainty:
      • Darendeli (2001)
      • EPRI SPID (2013)

Development of this software is on-going and any contributions are encouraged.


pysra is available via pip and can be installed with:

pip install pysra

If you are using conda and a create a pysra specific environmental make sure you install ipykernels and nb_conda_kernels so that the environment is discoverable by Jupyter with:

conda install ipykernels nb_conda_kernels


Please cite this software using the following DOI.


There are a variety of examples of using pysra within the examples directory. An interactive Jupyter interface of these examples is available on MyBinder.


v0.4.10 (2020-03-27)

  • Fixed: Error in SPID variation of G/Gmax
  • Added: Scaling during read of SMC and AT2 input motions

v0.4.9 (2020-03-09)

  • Add InitialVelProfile and CompatVelProfile outputs

v0.4.8 (2019-12-11)

  • Remove Cython and cyko as dependencies
  • Added a numba based Konno-Ohmachi smoothing

v0.4.6 (2019-11-12)

  • FIXED #11: Dependencies missing on install.

v0.4.5 (2019-10-24)

  • FIXED #9: Wrong stress for some Menq components.

v0.4.4 (2019-05-22)

  • Incremented version because of issue with automated builds.

v0.4.3 (2019-05-22)

  • FIXED: Bug in

v0.4.2 (2019-05-22)

  • Incremented version because of issue with automated builds.

v0.4.1 (2019-05-22)

  • Fixed strain profile to use max_strain.
  • Changed README and HISTORY to markdown.

v0.4.0 (2019-03-11)

  • Added smoothed FourierAmplitudeSpectrum output.

v0.3.2 (2018-12-02)

  • Fixed building of docs.
  • Removed stickler.
  • Version double increment due to pypi naming conflict.

v0.3.0 (2018-11-30)

  • Converted all damping to decimal.
  • Added tests for KishidaSoilType.
  • Added tests against Deepsoil.

v0.0.1 (2016-04-30)

  • First release on PyPI.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pySRA, version 0.4.10
Filename, size File type Python version Upload date Hashes
Filename, size pySRA-0.4.10-py2.py3-none-any.whl (47.8 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size pySRA-0.4.10.tar.gz (36.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page