in the tutorials for weights/free energy of macrostates the below code is used . however there is no set_nodes_field in MacroStateNetwork
has this been replaced with something else?
compute the weights of the macrostates and set them as node attributes
in the tutorials for weights/free energy of macrostates the below code is used . however there is no set_nodes_field in MacroStateNetwork has this been replaced with something else?
compute the weights of the macrostates and set them as node attributes
random_state_net.set_nodes_field('Weight', random_state_net.macrostate_weights())
get the weight of a node
print(random_state_net.graph.node[39]['Weight'])