Skip to content

Commit

Permalink
neuron feature documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanacelii committed Jan 8, 2024
1 parent 2cbac02 commit 9ef75e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mesh_tools/skeleton_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -6956,6 +6956,8 @@ def bbox_volume(skeleton):
sk_nodes = sk.convert_skeleton_to_nodes(skeleton)
return nu.bounding_box_volume(sk_nodes)

def bbox(skeleton):
return nu.bounding_box(skeleton.reshape(-1,3))

def coordinates_along_skeleton_offset_from_start(
skeleton,
Expand Down

0 comments on commit 9ef75e7

Please sign in to comment.