napf.base.core_class_str_and_data#

napf.base.core_class_str_and_data(tree_data, metric)[source]#

Returns class name of current setting. Also checks if it is valid dtype.

Parameters:
  • tree_data ((n, dim) np.ndarray)

  • metric (int or str)

Returns:

  • core_class_str (str)

  • core_class_data ((n, dim) np.ndarray)