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
andxi_param
have enough sets of parameters forvs_profile
, orGGmax_curves
andxi_curves
have enough sets of curves forvs_profile
.- Parameters:
vs_profile (Vs_Profile) – Vs profile.
GGmax_and_damping_curves (Multiple_GGmax_Damping_Curves) – G/Gmax and damping curves.
G_param (HH_Param_Multi_Layer | MKZ_Param_Multi_Layer) – HH or MKZ parameters for G/Gmax curves.
xi_param (HH_Param_Multi_Layer | MKZ_Param_Multi_Layer) – HH or MKZ parameters for damping curves.
- Raises:
ValueError – When checks fail