get_border_crosser_links
cellseg_gsontools.graphs.get_border_crosser_links(union_weights, roi_weights, iface_weights, only_border_crossers=True)
¶
Get the links that cross the border between the ROI and interface cells.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
union_weights |
W
|
The union of the ROI and interface weights. NOTE: contains links between ROI & interface cells. |
required |
roi_weights |
W
|
The ROI weights. NOTE: contains only links between ROI cells. |
required |
iface_weights |
W
|
The interface weights. NOTE: contains only links between interface cells. |
required |
only_border_crossers |
bool
|
Whether to return only the links that cross the border between the ROI and interface cells or all neighbors of the node that has a border crossing link. This includes also the liks that do not cross the border. By default True. |
True
|
Returns:
Name | Type | Description |
---|---|---|
W |
W
|
The links that cross the border between the ROI and interface cells. |