shape#
- optika.shape(a)[source]#
Return the array shape of the given object.
If the given object is an instance of
named_arrays.AbstractArray,named_arrays.transformations.AbstractTransformation, oroptika.mixins.Shaped,a.shapewill be returned. Otherwise an empty dictionary will be returned.