coords.Coords.points_shape#

Coords.points_shape()#

Return the points shape of the Coords object.

This is the shape of the numpy.ndarray with the last axis removed.

Note#

The full shape of the Coords array can be obtained from the inherited (NumPy) shape attribute.

Examples#

>>> X = Coords(np.arange(12).reshape(2,1,2,3))
>>> X.shape
(2, 1, 2, 3)
>>> X.points_shape()
(2, 1, 2)