Morphology Description
Last updated
Last updated
While morphologies in NEURON could be explicitly defined used sections and connections, RSME assumes that your cell morphology is given as a 'HOC' file.
In this example, we will use a traced morphology of a SAC. The morphology file can be downloaded here:
Conversion between morphological data types is provided by NEURON. See the 'Reading a morphometric data file and converting it to a NEURON model' tutorial at:
In RSME morphology specification XML we will need to specify the path to your morphology file. You can further modify your morphology by two means:
Referencing a Python function, which traverses the morphology sections and iteratively adjusting them
Providing an SBML-specified function to correct the sections, e.g., the sections' diameter.
In the following XML file, we define one morphology, describe by the SAC morphology file attached above. Each morphology is given an ID, which is later used to define a network and the cell's biophysical characteristics. We refer the model to the morphology_adhoc_fix function in which section corrections are defined and specify an SBML-defined function, which we use to set the morphological sections' diameter.
Note:
The morphology_adhoc_fix function is explicitly defined in SimParameters.py file.
The section diameter function specifies the diameter of each section as a function of its distance from the soma.
In the following example, we define a second cell - a DSGC:
You can download the DSGC morphology here: