calc_path_components
compute.calc_path_components(rag, path)Calculate the PCA components of a path in a RAG.
Parameters
rag : nx.Graph The RAG to calculate the PCA components for. path : list The path to calculate the PCA components for.
Returns
np.ndarray The PCA components of the path.