utils
check_dimensionality(data, dimensionality)
Returns True/False: is the provided data a matrix of the specified dimensionality? Args: data: An object to check the dimensionality of dimensionality: The expected dimensionality
Returns:
Type | Description |
---|---|
bool
|
True if data dimensionality is as expected, False if not. |
Source code in emod_api/utils.py
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
|