Skip to content

Commit

Permalink
order eigenvectors
Browse files Browse the repository at this point in the history
  • Loading branch information
kapoorlab committed Apr 5, 2024
1 parent 2d9ff2e commit 803fd57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
7 changes: 2 additions & 5 deletions src/napatrackmater/Trackmate.py
Original file line number Diff line number Diff line change
Expand Up @@ -1919,9 +1919,9 @@ def _assign_cluster_class(self):
for i in range(len(output_cluster_centroid)):
centroid = output_cluster_centroid[i]
quality = math.pow(
output_eigenvalues[i][0]
output_eigenvalues[i][2]
* output_eigenvalues[i][1]
* output_eigenvalues[i][2],
* output_eigenvalues[i][0],
1.0 / 3.0,
)
eccentricity_comp_firstyz = output_cloud_eccentricity[i]
Expand All @@ -1935,9 +1935,6 @@ def _assign_cluster_class(self):
cell_axis_x = output_eigenvectors[i][2]
cell_axis_y = output_eigenvectors[i][1]
cell_axis_z = output_eigenvectors[i][0]
print('x',cell_axis_x)
print('y',cell_axis_y)
print('z',cell_axis_z)

surface_area = (
output_cloud_surface_area[i]
Expand Down
4 changes: 2 additions & 2 deletions src/napatrackmater/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = version = "5.0.7"
__version_tuple__ = version_tuple = (5, 0, 7)
__version__ = version = "5.0.8"
__version_tuple__ = version_tuple = (5, 0, 8)

0 comments on commit 803fd57

Please sign in to comment.