PS_cal_cpp | R Documentation |
Compute response acceleration, pseudo-spectral acceleration (PSA), and spectral displacement
PS_cal_cpp(data, period_t, damping, time_dt, type_return)
data |
An acceleration time series array (in g) |
period_t |
An array of oscillator periods |
damping |
Damping ratio, expressed as a decimal |
time_dt |
Time step, in sec |
type_return |
A dummy variable controlling output type, set to either 1 or 2.
If 1 is selected, it returns a four-row matrix with actual spectral acceleration (in g)
in the first row, PSA (in g) in the second row, PSV (cm/s) in the third row, and
spectral displacement (cm) in the fourth row at each of the specified periods in |
The response acceleration and PSA, or spectral velocity and spectral displacement.
It depends on type_return
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.