check_layer_count#

PySeismoSoil.helper_simulations.check_layer_count(vs_profile: Vs_Profile, *, GGmax_and_damping_curves: Multiple_GGmax_Damping_Curves = None, G_param: PySeismoSoil.class_parameters.HH_Param_Multi_Layer | PySeismoSoil.class_parameters.MKZ_Param_Multi_Layer = None, xi_param: PySeismoSoil.class_parameters.HH_Param_Multi_Layer | PySeismoSoil.class_parameters.MKZ_Param_Multi_Layer = None) None[source]#

Check that G_param and xi_param have enough sets of parameters for vs_profile, or GGmax_curves and xi_curves have enough sets of curves for vs_profile.

Parameters:
Raises:

ValueError – When checks fail