msmbuilder.tpt.calculate_fluxes

msmbuilder.tpt.calculate_fluxes(sources, sinks, tprob, populations=None, committors=None)[source]

Compute the transition path theory flux matrix.

Parameters:

sources : array_like, int

The set of unfolded/reactant states.

sinks : array_like, int

The set of folded/product states.

tprob : mm_matrix

The transition matrix.

Returns :

—— :

fluxes : mm_matrix

The flux matrix