PySeismoSoil.helper_site_response Module#
Functions#
|
Amplify (or de-amplify) ground motions in the frequency domain. |
|
Calculate G/Gmax curve from stress-strain curve. |
|
Calculate Vs30 from the given Vs profile, where Vs30 is the reciprocal of the weighted average travel time from Z meters deep to the ground surface. |
|
Calculate VsZ from the given Vs profile, where VsZ is the reciprocal of the weighted average travel time from Z meters deep to the ground surface. |
|
Query the depth of the basin as indicated in |
|
Calculate damping values from HH or MKZ parameters. |
Calculate the damping curve from the given stress-strain curve. |
|
|
Calculate z1 (the depth to Vs = 1000 m/s) from |
|
Calculate z1 (basin depth) from Vs30. The correlation used here is z1 = 140.511 * exp(-0.00303 * Vs30), where the units of z1 and Vs30 are both SI units. This formula is documented in Section 2.5 (page 30) of the following PhD thesis: Shi, Jian (2019) "Improving Site Response Analysis for Earthquake Ground Motion Modeling." PhD thesis, California Institute of Technology. |
|
Compare two acceleration time histories: plot comparison figures showing two time histories and the transfer function between them. |
|
Convert a soil layer depth array into thickness array. |
|
Find f_0 in a frequency spectrum (i.e., the frequency corresponding to the initial peak). |
|
Perform damping curve fitting for multiple damping curves using the genetic algorithm provided in DEAP. |
|
Perform a genetic algorithm (GA) process to fit the data. |
|
Generate damping (xi) and density (rho) from the given 2-column Vs profile. |
|
Perform linear site response analysis. |
|
Compute linear elastic transfer function from a given Vs profile. |
|
Perform numerical integration on velocity to get acceleration. |
|
Perform numerical integration on acceleration to get velocity and displacement. |
|
Plot a Vs profile from a 2D numpy array. |
|
Plot acceleration, velocity, and displacement time history from a file name of acceleration data. |
|
Query Vs values at given |
|
Query Vs values from a thickness array " |
|
Single-degree-of-freedom elastic response spectra, using the "exact" solution to the equation of motion (Section 5.2, Dynamics of Structures, Second Edition, by Anil K. |
|
Unwrap a phase signal in a robust way. |
|
Divide layers of a Vs profile as necessary, according to the Vs values of each layer: if the layer thickness is more than Vs / 225.0, then divide the layer into more sublayers. |
|
Convert a soil layer thickness array into depth array. |