- qspec.check_dimension ( dim , axis , * args )[source]
-
- Parameters:
-
- dimint
The number of components the axis 'axis' must have.
- axisint
The axis which must have 'dim' components.
- argsndarray
The arguments which must have 'dim' components along axis 'axis'.
- Returns:
-
- outNone
None
- Raises:
-
- ValueError
All specified arguments must have 'dim' components along axis 'axis'.