fafbseg.google.test_edges¶
- fafbseg.google.test_edges(x, edges=None, vol=None, max_workers=4)[source]¶
Test if edge(s) cross membranes using ray-casting.
- Parameters:
x (pymaid.CatmaidNeuron | pandas.DataFrame) – Neuron or treenode table to test edges for.
edges (list-like, optional) –
- Use to subset to given edges. Can be:
List of single treenode IDs
List of pairs of treenode IDs
None
in which case all edges will be tested. This excludes the root node as it doesn’t have an edge!
vol (cloudvolume.CloudVolume) – CloudVolume pointing to segmentation data.
max_workers (int, optional) – Maximum number of parallel worker processes to test edges.
- Returns:
(N, ) array containing True/False for each tested edge.
- Return type:
numpy.ndarray
See also
fafbseg.autoreview_edges()
Use if you want to automatically review low confidence edges.