generic_check_ndarray_ndim#

pybrops.core.error.error_generic_numpy.generic_check_ndarray_ndim(v, vname, vndim)[source]#

Generic check ndarray dimension function.

Parameters:
  • v (numpy.ndarray) – Reference to object variable.

  • vname (str) – Name associated with the object variable.

  • vndim (int) – Number of dimensions ndarray must have.

Return type:

None