ktk.geometry.is_point_series

ktk.geometry.is_point_series#

is_point_series(array)[source]#

Check that the input is an Nx4 point series ([[x, y, z, 1.0], …]).

Parameters:

array (ArrayLike) – Array where the first dimension corresponds to time.

Returns:

True if every sample (other than NaNs) of the input array is a point (an array of length 4 with the last component being 1.0)

Return type:

bool