tightbinder.topology.calculate_wcc_gap_midpoints#

calculate_wcc_gap_midpoints(wcc_flow)[source]#

Routine to compute the midpoint of the biggest gap for the WCC flow, and their relative positions to the WCC.

Parameters:

wcc_flow (ndarray) – Array with the WCCs for all paths.

Return type:

Tuple[list, list]

Returns:

Position and index of midpoints fort he WCCs in each path.