1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

root/NeuroML2/examples/NML2_FullCell.nml

Revision 880, 4.3 KB (checked in by pgleeson, 4 months ago)

Updated schema for better checks of quantities with dimensions, e.g. Nml2Quantity_voltage, etc.
Updated examples accordingly.
Minor change to species/concentrationmodel elements

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2
3<neuroml xmlns="http://www.neuroml.org/schema/neuroml2"
4    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5    xmlns:xi="http://www.w3.org/2001/XInclude"
6      xsi:schemaLocation="http://www.neuroml.org/schema/neuroml2 ../Schemas/NeuroML2/NeuroML_v2alpha.xsd"
7    id="NML2_FullCell">
8       
9
10<!-- Example of a multicompartmental cell with biophysics in NeuroML 2 -->
11
12<!-- This is a "pure" NeuroML 2 file. It cannot yet be used a simulation by the LEMS
13     Interpreter as this does not yet support multicompartment cells -->   
14
15
16    <include href="SimpleIonChannel.xml"/> <!-- Contains ionChannel NaConductance -->
17
18    <!-- Note, no <cells> element...  -->
19   
20    <cell id="SpikingCell" metaid="HippoCA1Cell">
21
22        <notes>A Simple Spiking cell for testing purposes</notes>
23
24        <!-- Suggestion for annotation scheme based on reference to MIRIAM resource -->
25        <annotation>
26            <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:bqbiol="http://biomodels.net/biology-qualifiers/">
27              <rdf:Description rdf:about="HippoCA1Cell">
28                <bqbiol:isVersionOf>
29                  <rdf:Bag>
30                    <!-- This cell model is a version of a hippocampal CA1 pyramidal cell -->
31                    <rdf:li rdf:resource="urn:miriam:neurondb:258"/>
32                  </rdf:Bag>
33                </bqbiol:isVersionOf>
34              </rdf:Description>
35            </rdf:RDF>
36        </annotation>
37
38        <morphology id="SpikingCell_morphology">
39
40            <segment id ="0" name="Soma">
41                <!-- no parent => root segment -->
42                <proximal x="0" y="0" z="0" diameter="10"/>
43                <distal x="10" y="0" z="0" diameter="10"/>
44            </segment>
45
46            <segment id ="1" name="Dendrite1">
47                <parent segment="0"/>
48                <!-- no proximal => use distal of parent -->
49                <distal x="20" y="0" z="0" diameter="3"/>
50            </segment>
51
52            <segment id ="2" name="Dendrite2">
53                <parent segment="1"/>
54                <distal x="30" y="0" z="0" diameter="1"/>
55            </segment>
56           
57            <segment id ="3" name="Spine1">
58                <parent segment="2" fractionAlong="0.5"/>
59                <proximal x="25" y="0" z="0" diameter="0.1"/>
60                <distal x="25" y="0.2" z="0" diameter="0.1"/>
61            </segment>
62
63            <!-- segmentGroups follow -->
64
65            <segmentGroup id="soma_group" neuroLexId="sao1044911821">     <!-- Points to category "Neuronal Cell Body" in NeuroLex -->   
66                <member segment="0"/>
67            </segmentGroup>
68
69            <segmentGroup id="dendrite_group" neuroLexId="sao1211023249">    <!-- Points to category "Dendrite" in NeuroLex -->
70                <member segment="1"/>
71                <member segment="2"/>
72                <member segment="3"/>
73            </segmentGroup>
74
75            <segmentGroup id="spines" neuroLexId="sao1145756102">    <!-- Points to category "Spine" in NeuroLex -->
76                <member segment="3"/>
77            </segmentGroup>
78
79        </morphology>
80
81        <biophysicalProperties id="bio_cell">
82
83            <membraneProperties>
84
85                <channelPopulation id="naChansDend" ionChannel="NaConductance" segment="2" number="120000"/>   <!-- Use population instead of density -->
86
87                <channelDensity id="pasChans" ionChannel="pas" condDensity="3.0 S_per_m2"/> <!-- no segmentGroup => all segments! -->
88
89                <channelDensity id="naChansSoma" ionChannel="NaConductance" segmentGroup="soma_group" condDensity="120.0 mS_per_cm2"/>
90
91                <specificCapacitance segmentGroup="soma_group" value="1.0 uF_per_cm2"/>
92
93                <specificCapacitance segmentGroup="dendrite_group" value="2.0 uF_per_cm2"/>
94
95                <reversalPotential species="na" value="55mV"/>
96
97            </membraneProperties>
98
99            <intracellularProperties>
100
101                <!-- Ions present inside the cell. -->
102                <species id="ca">
103                    <fixedConcentration  concentration="1e-5 mM"/>
104                </species>
105
106                <resistivity value="0.1 kohm_cm"/>  <!-- Used for specific axial resistance -->
107
108            </intracellularProperties>
109
110        </biophysicalProperties>
111
112
113    </cell>
114
115</neuroml>
Note: See TracBrowser for help on using the browser.