msmtools.flux.to_netflux

msmtools.flux.to_netflux(flux)

Compute the netflux from the gross flux.

Parameters:flux ((M, M) ndarray) – Matrix of flux values between pairs of states.
Returns:netflux – Matrix of netflux values between pairs of states.
Return type:(M, M) ndarray

Notes

The netflux or effective current is defined as

\[f_{ij}^{+}=\max \{ f_{ij}-f_{ji}, 0 \}\]

\(f_{ij}\) is the flux for the transition from \(A\) to \(B\).

References

[1]P. Metzner, C. Schuette and E. Vanden-Eijnden. Transition Path Theory for Markov Jump Processes. Multiscale Model Simul 7: 1192-1219 (2009)