CellNetwork.edge_sample

CellNetwork.edge_sample(size=1)[source]

Get the identifiers of a set of random edges.

Parameters:
sizeint, optional

The size of the sample.

Returns:
list[tuple[int, int]]

The identifiers of the edges.