Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Region mesh redux #392

Merged
merged 44 commits into from
Oct 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
7e1201e
In progress
Hjorthmedh Oct 6, 2023
f764909
Switched to open3d, faster
Hjorthmedh Oct 6, 2023
0c3562b
Scaling fixed
Hjorthmedh Oct 6, 2023
806bbef
Updated
Hjorthmedh Oct 6, 2023
480fce0
Switched to faster RegionMeshRedux and NeuronPlacer
Hjorthmedh Oct 9, 2023
c745d8b
Add watertight single-hemisphere versions of nuclei meshes
wthun Oct 9, 2023
bca990b
changed path to local
wthun Oct 9, 2023
63e054f
Unit tests
Hjorthmedh Oct 10, 2023
a3d8d01
Merge branch 'region_mesh_redux' of github.com:Hjorthmedh/Snudda into…
Hjorthmedh Oct 10, 2023
9897134
Tests
Hjorthmedh Oct 10, 2023
175ed01
Tests
Hjorthmedh Oct 10, 2023
2641e39
Printing morphology keys
Hjorthmedh Oct 10, 2023
7584903
In progress
Hjorthmedh Oct 11, 2023
01b186e
Initial
Hjorthmedh Oct 11, 2023
446f380
In progrss
Hjorthmedh Oct 12, 2023
a91f28f
Work in progress
Hjorthmedh Oct 12, 2023
cec4a23
Work in progress
Hjorthmedh Oct 13, 2023
dc82c42
Work in progress
Hjorthmedh Oct 16, 2023
8c8c6eb
Check works
Hjorthmedh Oct 16, 2023
cd93552
Rot representation can appears to be working
Hjorthmedh Oct 16, 2023
61a7b79
In progress
Hjorthmedh Oct 16, 2023
1d14f15
In progress
Hjorthmedh Oct 17, 2023
76f771b
Dendrite now bends, does axon also bend?
Hjorthmedh Oct 18, 2023
b876b51
Bendy
Hjorthmedh Oct 18, 2023
b9e6de1
Integrating code in workflow, added stayInsideMesh option to neurons …
Hjorthmedh Oct 18, 2023
47a02a5
Fixed rotation representation
Hjorthmedh Oct 19, 2023
adca95f
Profiling, trying to speed up
Hjorthmedh Oct 19, 2023
9033221
Cleanup
Hjorthmedh Oct 19, 2023
9ae9c50
Work in progress, testing on cube, starting to work on parallell ben…
Hjorthmedh Oct 19, 2023
612fde5
Integrating into place, serial
Hjorthmedh Oct 20, 2023
305f2ab
Fixed representation, still need to check bending
Hjorthmedh Oct 20, 2023
236f473
Working in serial
Hjorthmedh Oct 20, 2023
62e9490
Fixed seeds
Hjorthmedh Oct 20, 2023
98a8311
In progress
Hjorthmedh Oct 20, 2023
6aadd90
Work in progress
Hjorthmedh Oct 23, 2023
a882245
Parallel execution
Hjorthmedh Oct 23, 2023
005fd58
Updated notebook
Hjorthmedh Oct 23, 2023
bab251a
adding debug info
Hjorthmedh Oct 23, 2023
65c7c6c
Update unit test
Hjorthmedh Oct 23, 2023
d869031
Fixing unit test
Hjorthmedh Oct 23, 2023
62c9c54
Set random seed
Hjorthmedh Oct 23, 2023
c3d36f3
Test
Hjorthmedh Oct 23, 2023
cc638a8
Sorting list of keys, to make sure order is the same
Hjorthmedh Oct 23, 2023
bdaf814
Fixed mkdir
Hjorthmedh Oct 23, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions examples/notebooks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Here is a collection of Jupyter Notebooks, some of the workflows are split over
* [population_unit_network](population_unit_network.ipynb) how to define population units.
* [example_of_density_function](example_of_density_function.ipynb) how to specify density variations using a function of (x,y,z) in a volume.
* [example_of_neuron_rotations](example_of_neuron_rotations.ipynb) shows how to rotate neurons based on position.
* [bend_morphologies](bend_morphologies.ipynb) shows how to make the neurons bend the axons and dendrites at the edge of the mesh, to keep them constrained to the volume.
* [connect_structures_example](connect_structures_example.ipynb) shows how to create neuron projections between volumes when no-axon data is available ([parallel version](connect_structures_example_parallel.ipynb)). There is also an [alternative version](connect_structures_example_projection_detection.ipynb) that places axon voxels randomly within the projection zone and then applies touch detection.
* [virtual_neurons](VirtualNeurons/VirtualNeurons.ipynb) shows how to only simulate the core of a volume of neurons, by turning the outer neurons to virtual neurons that spike at predetermined times. This is useful to avoid edge effects in your simulations.

Expand Down
190 changes: 190 additions & 0 deletions examples/notebooks/bend_morphologies.ipynb

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ setuptools
psutil >= 5.8.0
cython # Needed for compiling NEURON
wheel # setup.py seems to need this now
open3d

# igraph
# snudda
2 changes: 1 addition & 1 deletion snudda/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from .core import Snudda

__version__ = "1.4.73"
__version__ = "1.5.0"

from .init import SnuddaInit
from .place import SnuddaPlace
Expand Down
Loading
Loading