xoa.cf.CFCoordSpecs.get_dim_types

CFCoordSpecs.get_dim_types(obj, unknown=None, asdict=False)[source]

Get a tuple of the dimension types of an array

Parameters:
Returns:

tuple, dict – Tuple of dimension types and of length obj.ndim. A dimension type is either a letter or the unkown value when the inference of type has failed. If asdict is True, a dict is returned instead, (dim, dim_type) as key-value pairs.

See also

get_dim_type