calc_graph_charge
- static ThomasFermi.calc_graph_charge(G, dist)
Calculates the modal charge configuration of the steady-state of the Markov graph.
- Parameters:
G (networkx.DiGraph) – A graph with tuple[int, …] nodes representing possible charge configurations. This graph is a Markov graph where edges represent the transition rates between possible configurations.
dist (ndarray[float]) – An array with length equal to
len(G)representing the steady-state of the Markov graph.
- Returns:
The node of
Gwhich has the greatest weight in the steady-state of the Markov graph.- Return type:
tuple[int, …]