ktk.geometry.isnan

Contents

ktk.geometry.isnan#

isnan(array, /)[source]#

Check which samples contain at least one NaN.

Parameters:
  • in – Array where the first dimension corresponds to time.

  • array (ArrayLike)

Returns:

Array of bool that is the same size of input’s first dimension, with True for the samples that contain at least one NaN.

Return type:

np.ndarray