Giter Site home page Giter Site logo

francolt / reqpy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from luismontejo/reqpy

0.0 0.0 0.0 18.44 MB

Response spectral matching of horizontal ground motion components to an orientation-independent spectrum (RotDnn)

License: GNU General Public License v3.0

Python 100.00%

reqpy's Introduction

REQPY

A module of python functions to perform spectral matching of 2 horizontal components to a RotDnn target spectrum as described in Montejo (2020). The functions included can also be used to perform single component matching (Montejo and Suarez 2013), perform baseline correction (Suarez and Montejo 2007), and generate single component, rotated and RotDnn spectra.

examples: https://youtu.be/1SFzuP-fjPg

cite the paper: Montejo, L. A. (2020). Response spectral matching of horizontal ground motion components to an orientation-independent spectrum (RotDnn). Earthquake Spectra (https://doi.org/10.1177/8755293020970981)

cite the code: DOI

Other references

Montejo, L. A., & Suarez, L. E. (2013). An improved CWT-based algorithm for the generation of spectrum-compatible records. International Journal of Advanced Structural Engineering, 5(1), 26.

Suarez, L. E., & Montejo, L. A. (2007). Applications of the wavelet transform in the generation and analysis of spectrum-compatible records. Structural Engineering and Mechanics, 27(2), 173-197.

List of functions included in the module

*REQPYrotdnn: Response spectral matching of horizontal ground motion components to an orientation-independent spectrum (RotDnn)

*REQPY_single: CWT based modification of a single component from a historic record to obtain spectrally equivalent acceleration series

*ResponseSpectrum: decides what approach to use to estimate the response spectrum based on the specified damping value (>=4% frequency domain, <4% piecewise)

*RSPW: Response spectra using a piecewise algorithm

*RSFD: Response spectra (operations performed in the frequency domain)

*ResponseSpectrumTheta: decides what approach to use to estimate the rotated response spectra based on damping value (>=4% frequency domain, <4% piecewise)

*RSFDtheta: Rotated response spectra, returns the spectra for each angle accommodated in a matrix (operations performed in the frequency domain)

*RSPWtheta: Rotated response spectra, returns the spectra for each angle accommodated in a matrix (piecewise approach)

*rotdnn: computes rotated and rotdnn spectra

*basecorr: Performs baseline correction

*baselinecorrect: Performs baseline correction (iteratively calling basecorr)

*cwtzm: Continuous Wavelet Transform using the Suarez-Montejo wavelet via convolution in the frequency domain

*zumontw: Generates the Suarez-Montejo Wavelet function

*getdetails: Generates the detail functions from the wavelet coefficients

*CheckPeriodRange: Verifies that the specified matching period range is doable

*load_PEERNGA_record: Load record in .at2 format (PEER NGA Databases)

reqpy's People

Contributors

luismontejo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.