stratify#

PySeismoSoil.helper_site_response.stratify(vs_profile: ndarray) ndarray[source]#

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.

Parameters:

vs_profile (np.ndarray) – The Vs profile. Must be 2D numpy array with two or five columns.

Returns:

new_profile – The re-discretized Vs profile with the same number of columns as the input profile.

Return type:

np.ndarray