NeuroM morphology definitions¶
These are NeuroM
specific working definitions of various components of
neuron morpholigies.
This is to be based on Basic Definitions to be used in NeuroM
Point¶
A point is a vector of numbers [X, Y, Z, R, TYPE, ID, PID] where the components are
- X, Y, Z: Cartesian coordinates of position
- R: Radius
- TYPE: One of the
NeuroM valid point types
- ID: Unique identifier of the point.
- PID: ID of the parent of the point.
Typically only the first four or five components are of interest to morphology analysis. The rest are used to construct the soma and hierarchical tree structures of the neuron, and to check its semantic validity.
Note
For most of what follows, it suffices to consider a point as a vector of [X, Y, Z, R, TYPE]. The remaining components ID and PID can be considered book-keeping.
Todo
Point types may need to be restricted to align SWC with H5. This is dependent on future H5 specs.
Soma¶
A soma can be represented by one, three or more points. The soma is classified based on the number of points it contains thus:
- Type A: 1 point defining the center and radius.
- Type B: 3 points. Only the centers of the points are considered. The first point defines the center. The radius is extimated from the mean distance between the center and the two remaining points.
- Type C: More than three points. Only the centers of the points are considered. The first point defines the center. The radius is estimated from the mean distance between the center and the remaining points.
Todo
Expand list if and when specifications require new types of soma.
The soma interface exports a center and radius. These can be calculated in different ways, but the default is to use the center and radius for type A and the mean center and radius for types B and C.
Todo
In the future, type B may be interpreted as 3 points on an ellipse. In this case, the points would have to be non-collinear. Currently there is no such restriction.
See also
See also
Neurite tree¶
A neurite consists of a tree structure with a set of points in each vertex or node. The tree structure implies the following:
- A node can only have one parent.
- A node can have an arbitrary number of children.
- No loops are present in the structure.
Todo
Should neurite trees be restricted to being binary trees? If so, no more than two children per node would be allowed.
Different type of points are allowed in the same tree as long as same conventions are followed
Todo
The conventions governing the types of points in a neurite tree need to be well defined
In NeuroM
neurite trees are implemented using the recursive structure
neurom.core.tree.Tree
, with each node holding a reference to a
morphology point.
Neuron¶
A neuron structure consists of a single soma and a collection of trees.
The trees that are expected to be present depend on the type of cell:
- Interneuron (IN): basal dendrite, axon
- Pyramidal cell (PC): basal dendrite, apical dendrite, axon
See also
neurom.core.neuron.Neuron
neurom.ezy.Neuron