check_layer_count#

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

Check that there are enough sets of parameters/curves for vs_profile.

Either 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