graphvelo.graph_velocity.GraphVelo.project_velocity

GraphVelo.project_velocity(X_embedding, T=None)[source]

Project the velocity vectors onto a low-dimensional embedding.

Return type:

ndarray

Parameters:

X_embedding (np.ndarray): The low-dimensional embedding coordinates. T (optional): An external phi basis. If None, uses the learned phi coefficients.

Returns:

np.ndarray: The projected velocity vectors in the embedding space.