pyFM.signatures.HKS_functions.HKS

pyFM.signatures.HKS_functions.HKS(evals, evects, time_list, scaled=False)

Return the Heat Kernel Signature for num_T different time values.

The time values are interpolated in logscale between the limits given in the HKS paper. These limits only depend on the eigenvalues.

Parameters:
  • evals ((K,) np.ndarray) – The K eigenvalues.

  • evects ((N, K) np.ndarray) – The K eigenvectors.

  • time_list ((num_T,) np.ndarray) – Time values to use.

  • scaled (bool, optional) – Whether to scale for each time value.

Returns:

HKS – Array where each line is the HKS for a given t.

Return type:

(N, num_T) np.ndarray