GM_RotD_cal: A Function for Combination of Two Rotated Ground Motions

View source: R/GM_RotD.R

GM_RotD_calR Documentation

A Function for Combination of Two Rotated Ground Motions

Description

This function computes RotD with 180 rotated angles and Geometric Mean of RotD with 90 angles

Usage

GM_RotD_cal(
  data1,
  data2,
  period_t,
  damping,
  time_dt,
  fraction = 0.7,
  Interpolation_factor = "auto"
)

Arguments

data1

The first horizontal component of acceleration ground motion, in g

data2

The second horizontal component of acceleration ground motion, in g

period_t

A array of oscillator periods

damping

Damping ratio

time_dt

Time step of two time series. These two datasets have the same time step

fraction

A fraction for subset selection to speed up calculation. 0 is using all dataset. 0.7 is recommended for RotD50 if the input data are Sinc interpolated (default); 0.5 is recommended if GMRotI50 is also interested; 0.0 should be used regarding for RotD00

Interpolation_factor

The specific value depends on sampling rate, the detailed explanation is described in the PEER report. Users can give their desired value, or can use defult "auto", which will compute Interpolation_factor according to time step automatically.

Value

A list is returned with RotD, GMRotD, number of selected subsets points, threshold values, PGARotD (in g), PGVRotD (in cm/s), and PGDRotD (in cm)


wltcwpf/RCTC documentation built on March 5, 2023, 11:01 p.m.