polyTEM.crystal_peaks.vector_graph_utils.create_edges_from_simulation

polyTEM.crystal_peaks.vector_graph_utils.create_edges_from_simulation(graph, probs_mat, node_index)

creates edges with edge attribute probability :param graph: networkx Graph to modify :param prob_mat: sparse object, Probability Adjacency Matrix with shape (N, graph.order()) :param node_index: the Node index value that corresponds to the first row in prob_mat