coords.Coords.points#

Coords.points()#

Return the Coords object as a flat set of points.

Returns#

Coords

The Coords reshaped to a 2-dimensional array, flattening the structure of the points.

Examples#

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