Skip to content

Commit

Permalink
Rotate cells only around Y-axis in the 300 cell example for better ap…
Browse files Browse the repository at this point in the history
…pearance
  • Loading branch information
Juan Hernando Vieites committed Nov 7, 2018
1 parent fcb9134 commit 59042d0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples/300_cells/build_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ def build_edges(src, trg, sections=['basal', 'apical'], dist_range=[50.0, 150.0]
internal.add_nodes(N=n_cells,
x=positions[:, 0], y=positions[:, 1], z=positions[:, 2],
rotation_angle_yaxis=xiter_random(N=n_cells, min_x=0.0, max_x=2 * np.pi), # randomly rotate y axis
rotation_angle_zaxis=xiter_random(N=n_cells, min_x=0.0, max_x=2 * np.pi), #
model_type='biophysical',
model_processing='aibs_perisomatic',
**model_props)
Expand Down
Binary file modified examples/300_cells/network/internal_nodes.h5
Binary file not shown.

0 comments on commit 59042d0

Please sign in to comment.