Skip to content

Commit

Permalink
vec reloaded
Browse files Browse the repository at this point in the history
  • Loading branch information
kapoorlab committed Mar 22, 2024
1 parent 56ad58b commit 2c5b77a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/napatrackmater/Trackmate.py
Original file line number Diff line number Diff line change
Expand Up @@ -2911,7 +2911,7 @@ def prob_sigmoid(x):

def angular_change(vec_mask, vec_cell):

vec = vec_cell - vec_mask
vec = np.asarray(vec_cell) - np.asarray(vec_mask)
vec = vec / np.linalg.norm(vec)
num_dimensions = len(vec)
unit_vector = np.ones(num_dimensions) / num_dimensions
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 = "4.9.4"
__version_tuple__ = version_tuple = (4, 9, 4)
__version__ = version = "4.9.5"
__version_tuple__ = version_tuple = (4, 9, 5)

0 comments on commit 2c5b77a

Please sign in to comment.