@@ -124,9 +124,12 @@ In addition, a [`navis.TreeNeuron`][] has a range of different properties:
124
124
125
125
| Method | Description |
126
126
| --------| -------------|
127
+ | [ ` TreeNeuron.adjacency_matrix ` ] [ navis.TreeNeuron.adjacency_matrix ] | {{ autosummary("navis.TreeNeuron.adjacency_matrix") }} |
127
128
| [ ` TreeNeuron.cable_length ` ] [ navis.TreeNeuron.cable_length ] | {{ autosummary("navis.TreeNeuron.cable_length") }} |
128
129
| [ ` TreeNeuron.cycles ` ] [ navis.TreeNeuron.cycles ] | {{ autosummary("navis.TreeNeuron.cycles") }} |
129
130
| [ ` TreeNeuron.downsample ` ] [ navis.TreeNeuron.downsample ] | {{ autosummary("navis.TreeNeuron.downsample") }} |
131
+ | [ ` TreeNeuron.edges ` ] [ navis.TreeNeuron.edges ] | {{ autosummary("navis.TreeNeuron.edges") }} |
132
+ | [ ` TreeNeuron.edge_coords ` ] [ navis.TreeNeuron.edge_coords ] | {{ autosummary("navis.TreeNeuron.edge_coords") }} |
130
133
| [ ` TreeNeuron.igraph ` ] [ navis.TreeNeuron.igraph ] | {{ autosummary("navis.TreeNeuron.igraph") }} |
131
134
| [ ` TreeNeuron.is_tree ` ] [ navis.TreeNeuron.is_tree ] | {{ autosummary("navis.TreeNeuron.is_tree") }} |
132
135
| [ ` TreeNeuron.n_branches ` ] [ navis.TreeNeuron.n_branches ] | {{ autosummary("navis.TreeNeuron.n_branches") }} |
@@ -140,9 +143,22 @@ In addition, a [`navis.TreeNeuron`][] has a range of different properties:
140
143
| [ ` TreeNeuron.simple ` ] [ navis.TreeNeuron.simple ] | {{ autosummary("navis.TreeNeuron.simple") }} |
141
144
| [ ` TreeNeuron.soma_pos ` ] [ navis.TreeNeuron.soma_pos ] | {{ autosummary("navis.TreeNeuron.soma_pos") }} |
142
145
| [ ` TreeNeuron.subtrees ` ] [ navis.TreeNeuron.subtrees ] | {{ autosummary("navis.TreeNeuron.subtrees") }} |
146
+ | [ ` TreeNeuron.vertices ` ] [ navis.TreeNeuron.vertices ] | {{ autosummary("navis.TreeNeuron.vertices") }} |
143
147
| [ ` TreeNeuron.volume ` ] [ navis.TreeNeuron.volume ] | {{ autosummary("navis.TreeNeuron.volume") }} |
144
148
145
149
150
+ #### Skeleton utility functions
151
+
152
+ | Function | Description |
153
+ | ----------| -------------|
154
+ | [ ` navis.rewire_skeleton() ` ] [ navis.rewire_skeleton ] | {{ autosummary("navis.rewire_skeleton") }} |
155
+ | [ ` navis.insert_nodes() ` ] [ navis.insert_nodes ] | {{ autosummary("navis.insert_nodes") }} |
156
+ | [ ` navis.remove_nodes() ` ] [ navis.remove_nodes ] | {{ autosummary("navis.remove_nodes") }} |
157
+ | [ ` navis.graph.simplify_graph() ` ] [ navis.graph.simplify_graph ] | {{ autosummary("navis.graph.simplify_graph") }} |
158
+ | [ ` navis.graph.skeleton_adjacency_matrix() ` ] [ navis.graph.skeleton_adjacency_matrix ] | {{ autosummary("navis.graph.skeleton_adjacency_matrix") }} |
159
+
160
+
161
+
146
162
### Mesh neurons
147
163
148
164
Properties specific to [ ` navis.MeshNeuron ` ] [ ] :
@@ -173,10 +189,16 @@ These are methods and properties specific to [VoxelNeurons][navis.VoxelNeuron]:
173
189
174
190
| Property | Description |
175
191
| ------| ------|
192
+ | [ ` VoxelNeuron.density ` ] [ navis.VoxelNeuron.density ] | {{ autosummary("navis.VoxelNeuron.density") }} |
176
193
| [ ` VoxelNeuron.grid ` ] [ navis.VoxelNeuron.grid ] | {{ autosummary("navis.VoxelNeuron.grid") }} |
177
- | [ ` VoxelNeuron.voxels ` ] [ navis.VoxelNeuron.voxels ] | {{ autosummary("navis.VoxelNeuron.voxels") }} |
194
+ | [ ` VoxelNeuron.max ` ] [ navis.VoxelNeuron.max ] | {{ autosummary("navis.VoxelNeuron.max") }} |
195
+ | [ ` VoxelNeuron.min ` ] [ navis.VoxelNeuron.min ] | {{ autosummary("navis.VoxelNeuron.min") }} |
196
+ | [ ` VoxelNeuron.nnz ` ] [ navis.VoxelNeuron.nnz ] | {{ autosummary("navis.VoxelNeuron.nnz") }} |
197
+ | [ ` VoxelNeuron.offset ` ] [ navis.VoxelNeuron.offset ] | {{ autosummary("navis.VoxelNeuron.offset") }} |
178
198
| [ ` VoxelNeuron.shape ` ] [ navis.VoxelNeuron.shape ] | {{ autosummary("navis.VoxelNeuron.shape") }} |
179
199
| [ ` VoxelNeuron.strip() ` ] [ navis.VoxelNeuron.strip ] | {{ autosummary("navis.VoxelNeuron.strip") }} |
200
+ | [ ` VoxelNeuron.threshold() ` ] [ navis.VoxelNeuron.threshold ] | {{ autosummary("navis.VoxelNeuron.threshold") }} |
201
+ | [ ` VoxelNeuron.voxels ` ] [ navis.VoxelNeuron.voxels ] | {{ autosummary("navis.VoxelNeuron.voxels") }} |
180
202
181
203
182
204
### Dotprops
@@ -207,6 +229,8 @@ These functions will let you convert between neuron types:
207
229
| [ ` navis.conversion.voxels2mesh() ` ] [ navis.conversion.voxels2mesh ] | {{ autosummary("navis.conversion.voxels2mesh") }} |
208
230
| [ ` navis.conversion.tree2meshneuron() ` ] [ navis.conversion.tree2meshneuron ] | {{ autosummary("navis.conversion.tree2meshneuron") }} |
209
231
232
+ See also [ Utility] ( #utility ) for functions to convert to/from basic data types.
233
+
210
234
### NeuronList methods
211
235
212
236
[ ` NeuronLists ` ] [ navis.NeuronList ] let you access all the properties and methods of the neurons
@@ -346,6 +370,7 @@ Functions to edit morphology:
346
370
| [ ` navis.smooth_skeleton() ` ] [ navis.smooth_skeleton ] | {{ autosummary("navis.smooth_skeleton") }} |
347
371
| [ ` navis.smooth_mesh() ` ] [ navis.smooth_mesh ] | {{ autosummary("navis.smooth_mesh") }} |
348
372
| [ ` navis.smooth_voxels() ` ] [ navis.smooth_voxels ] | {{ autosummary("navis.smooth_voxels") }} |
373
+ | [ ` navis.thin_voxels() ` ] [ navis.thin_voxels ] | {{ autosummary("navis.thin_voxels") }} |
349
374
350
375
351
376
### Resampling
@@ -508,22 +533,6 @@ Collection of functions to work with graphs and adjacency matrices.
508
533
| ----------| -------------|
509
534
| [ ` navis.NeuronConnector ` ] [ ] | {{ autosummary("navis.NeuronConnector") }} |
510
535
511
- ### Graphs
512
-
513
- Functions to convert between neurons graph representation (networkx or iGraph).
514
-
515
- | Function | Description |
516
- | ----------| -------------|
517
- | [ ` navis.neuron2nx() ` ] [ navis.neuron2nx ] | {{ autosummary("navis.neuron2nx") }} |
518
- | [ ` navis.neuron2igraph() ` ] [ navis.neuron2igraph ] | {{ autosummary("navis.neuron2igraph") }} |
519
- | [ ` navis.neuron2KDTree() ` ] [ navis.neuron2KDTree ] | {{ autosummary("navis.neuron2KDTree") }} |
520
- | [ ` navis.network2nx() ` ] [ navis.network2nx ] | {{ autosummary("navis.network2nx") }} |
521
- | [ ` navis.network2igraph() ` ] [ navis.network2igraph ] | {{ autosummary("navis.network2igraph") }} |
522
- | [ ` navis.rewire_skeleton() ` ] [ navis.rewire_skeleton ] | {{ autosummary("navis.rewire_skeleton") }} |
523
- | [ ` navis.insert_nodes() ` ] [ navis.insert_nodes ] | {{ autosummary("navis.insert_nodes") }} |
524
- | [ ` navis.remove_nodes() ` ] [ navis.remove_nodes ] | {{ autosummary("navis.remove_nodes") }} |
525
- | [ ` navis.graph.simplify_graph() ` ] [ navis.graph.simplify_graph ] | {{ autosummary("navis.graph.simplify_graph") }} |
526
-
527
536
### Connectivity metrics
528
537
529
538
Functions to analyse/cluster neurons based on connectivity.
@@ -581,6 +590,21 @@ Various utility functions.
581
590
| [ ` navis.example_neurons() ` ] [ navis.example_neurons ] | {{ autosummary("navis.example_neurons") }} |
582
591
| [ ` navis.example_volume() ` ] [ navis.example_volume ] | {{ autosummary("navis.example_volume") }} |
583
592
593
+ ### Conversion
594
+
595
+ Functions to convert between data types.
596
+
597
+ | Function | Description |
598
+ | ----------| -------------|
599
+ | [ ` navis.neuron2nx() ` ] [ navis.neuron2nx ] | {{ autosummary("navis.neuron2nx") }} |
600
+ | [ ` navis.neuron2igraph() ` ] [ navis.neuron2igraph ] | {{ autosummary("navis.neuron2igraph") }} |
601
+ | [ ` navis.neuron2KDTree() ` ] [ navis.neuron2KDTree ] | {{ autosummary("navis.neuron2KDTree") }} |
602
+ | [ ` navis.neuron2tangents() ` ] [ navis.neuron2tangents ] | {{ autosummary("navis.neuron2tangents") }} |
603
+ | [ ` navis.network2nx() ` ] [ navis.network2nx ] | {{ autosummary("navis.network2nx") }} |
604
+ | [ ` navis.network2igraph() ` ] [ navis.network2igraph ] | {{ autosummary("navis.network2igraph") }} |
605
+ | [ ` navis.nx2neuron() ` ] [ navis.nx2neuron ] | {{ autosummary("navis.nx2neuron") }} |
606
+ | [ ` navis.edges2neuron() ` ] [ navis.edges2neuron ] | {{ autosummary("navis.edges2neuron") }} |
607
+
584
608
## Network Models
585
609
586
610
{{ navis }} comes with a simple network traversal model (used in [ Schlegel, Bates et al., 2021] ( https://elifesciences.org/articles/66018 ) ).
0 commit comments