calc_basin_depth#

PySeismoSoil.helper_site_response.calc_basin_depth(vs_profile: ndarray, bedrock_Vs: float = 1000.0) float[source]#

Query the depth of the basin as indicated in vs_profile. The basin is defined as the material whose Vs is at least bedrock_Vs.

Parameters:
  • vs_profile (np.ndarray) – A 2D numpy array that represents a Vs profile.

  • bedrock_Vs (float) – The shear-wave velocity that you consider as the bedrock.

Returns:

basin_depth – The basin depth. If no Vs values in the profile reaches bedrock_Vs, return total depth (bottom) of the profile.

Return type:

float