dynamo.vf.IntGrad(points, Function, DiffusionMatrix, dt)[source]

Calculate the action of the path based on the (reconstructed) vector field function and diffusion matrix (Eq. 18)

  • points (ndarray) – The sampled points in the state space used to calculate the action.

  • Function (function) – The (learned) vector field function.

  • DiffusionMatrix (function) – The function that returns diffusion matrix which can be dependent on the variables (for example, genes)

  • dt ('float') – The time interval used in calculating action


integral – The action calculated based on the input path, the vector field function and the diffusion matrix.

Return type