assert_1D_numpy_array#
- PySeismoSoil.helper_generic.assert_1D_numpy_array(something: Any, name: str | None = None) None[source]#
Assert that
somethingis a 1D numpy array- Parameters:
something (Any) – Any Python object.
name (str | None) – The name of
somethingto be displayed in the potential error message.
- Raises:
TypeError –
somethingis not a 1D numpy array