coords.Coords.points_shape#
- Coords.points_shape()#
Return the points shape of the
Coordsobject.This is the shape of the
numpy.ndarraywith 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)