msmbuilder.tpt.calculate_all_hub_scores

msmbuilder.tpt.calculate_all_hub_scores(tprob)[source]

Calculate the hub scores for all states in a network defined by tprob.

The “hub score” is a measure of how well traveled a certain state or set of states is in a network. Specifically, it is the fraction of times that a walker visits a state en route from some state A to another state B, averaged over all combinations of A and B.

Parameters:

tprob : matrix

The transition probability matrix

Returns:

Hc_array : nd_array, float

The hub score for each state in tprob

See also

calculate_fraction_visits
function Calculate the fraction of times a state is visited on pathways going from a set of “sources” to a set of “sinks”.
calculate_hub_score
function A function that computes just one hub score, can compute the hub score for a set of states.

Notes

Employs dense linear algebra,
memory use scales as N^2 cycle use scales as N^6

References

..[1] Dickson & Brooks (2012), J. Chem. Theory Comput.,
Article ASAP DOI: 10.1021/ct300537s