msmtools.flux.flux_producers¶
-
msmtools.flux.
flux_producers
(F, rtol=1e-05, atol=1e-12)¶ Return indexes of states that are net flux producers.
Parameters: - F ((M, M) ndarray) – Matrix of flux values between pairs of states.
- rtol (float) – relative tolerance. fulfilled if max(outflux-influx, 0) / max(outflux,influx) < rtol
- atol (float) – absolute tolerance. fulfilled if max(outflux-influx, 0) < atol
Returns: producers – indexes of states that are net flux producers. May include “dirty” producers, i.e. states that have influx but still produce more outflux and thereby violate flux conservation.
Return type: (M, ) ndarray of int