graph_utils
navis.graph.graph_utils.match_mesh_skeleton #
Match vertices of MeshNeuron to nodes of TreeNeuron.
| PARAMETER | DESCRIPTION |
|---|---|
mesh | TYPE: |
skeleton | TYPE: |
| RETURNS | DESCRIPTION |
|---|---|
np.ndarray | Array of skeleton node IDs for each vertex in the mesh. |
Source code in navis/graph/graph_utils.py
2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 | |