check_Vs_profile_format#

PySeismoSoil.helper_generic.check_Vs_profile_format(data: Any) None[source]#

Check that data is in a valid format as a Vs profile (i.e., 2D numpy array, two or five columns, non-negative or positive values, etc.)

Parameters:

data (Any) – Any Python object.

Raises:
  • TypeError – When the input has unexpected type

  • ValueError – When the input has unexpected value