pyFM.signatures.WKS_functions.auto_WKS

pyFM.signatures.WKS_functions.auto_WKS(evals, evects, num_E, landmarks=None, scaled=True)

Compute WKS with an automatic choice of scale and energy.

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

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

  • num_E (int) – Number of energy values to use.

  • landmarks ((p,) np.ndarray, optional) – If not None, indices of landmarks to compute.

  • scaled (bool, optional) – Whether to scale each energy level.

Returns:

WKS – Array where each column is the WKS for a given e, possibly for some landmark.

Return type:

(N, num_E) or (N, p * num_E) np.ndarray