Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 57c59876 authored by NADAL Morgane's avatar NADAL Morgane
Browse files

some corrections

parent 174c0f74
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,7 @@ som_ext_path_t = namedtuple_t("som_ext_path_t", "extension length path idx")
class soma_t(glial_cmp_t):
#
__slots__ = ("contour_points", "centroid", "skl_graph", "ext_roots", "graph_roots", "volume_soma_micron", "half_ax_fit_ellipsoid")
__slots__ = ("contour_points", "centroid", "skl_graph", "ext_roots", "graph_roots", "volume_soma_micron", "axes_ellipsoid")
def __init__(self):
#
......
......@@ -415,8 +415,9 @@ for soma in somas:
soma.volume_soma_micron = volume_pixel_micron * len(soma.sites[0])
# Axes of the best fitting ellipsoid
axes = bf_.FindBestFittingEllipsoid3D(soma)[2]
print(axes)
soma.axes_ellipsoid = bf_.FindBestFittingEllipsoid3D(soma)[2]
print(soma.axes_ellipsoid)
# -- Extension features
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment