Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudon committed Dec 5, 2023
1 parent 38ce776 commit 61cf139
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neurots/astrocyte/space_colonization.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def _repulsion(points, current_point, length_constant):

decay_rate = 1.0 / length_constant
lengths = np.linalg.norm(vectors, axis=1)
u_vectors = np.round(vectors / lengths[:, None], 7)
u_vectors = np.round(vectors / lengths[:, None], 6)

contributions = np.exp(lengths * -decay_rate)
return contributions.dot(u_vectors) / len(vectors)
Expand Down
Binary file modified tests/astrocyte/data/astrocyte.h5
Binary file not shown.

0 comments on commit 61cf139

Please sign in to comment.