heparchy.write.HdfEventWriter.set_edges(data: ndarray[Any, dtype[Any]], weights: ndarray[Any, dtype[float64]] | None = None, strict_size: bool = True) None[source]

Write edge indices for event.

Parameters
data : 2d array of ints

Each row contains a pair of in / out edge indices.

strict_size : bool

If True will assume number of edges = number of particles (default: True).


Last update: Nov 16, 2022