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

root/NeuroML2/examples/NML2_FullNeuroML.nml

Revision 880, 4.4 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    xsi:schemaLocation="http://www.neuroml.org/schema/neuroml2 ../Schemas/NeuroML2/NeuroML_v2alpha.xsd"
6    id="NML2_FullNeuroML">
7
8
9<!-- Example containing a range of different elements from NeuroML 2 -->
10
11
12
13<!-- Bioelectrical properties of different media -->
14
15    <!-- used for reactions outside all cells -->
16    <extracellularProperties id="extracellular" temperature="32degC">  <!-- Perhaps temp could be an attribute here? -->
17
18        <!-- see FullNeuroML_SBML.xml for example with SBML interaction -->
19       
20    </extracellularProperties>
21
22
23
24
25<!--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-->
26<!-- Strucure of cell neurites -->
27
28    <morphology id="NeuroMorpho_PyrCell123">  <!-- see FullCell.xml for more details -->
29
30        <segment id ="0" name="Soma">
31            <!-- no parent => root segment -->
32            <proximal x="0" y="0" z="0" diameter="10"/>
33            <distal x="10" y="0" z="0" diameter="10"/>
34        </segment>
35
36        <!-- more needed -->
37
38    </morphology>
39
40
41
42<!--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-->
43<!-- Ion channel specification -->
44
45    <ionChannel id="HH_Na" type="ionChannelHH" conductance="10pS" species="na">  <!-- see SimpleIonChannel.xml for more details -->
46
47        <!-- more needed -->
48
49    </ionChannel>
50
51
52
53
54
55<!--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-->
56<!-- Synaptic mechanism specification -->
57
58    <expTwoSynapse id="AMPA" gbase="0.5nS" erev="0mV" tauRise="1ms" tauDecay="2ms" >
59
60
61    </expTwoSynapse>
62
63
64
65<!--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-->
66<!-- Biophysical properties of cell incl membrane, e.g. conductance densities, specific capacitance, etc. -->
67
68    <biophysicalProperties id="PyrCellChanDist">
69
70        <membraneProperties>
71       
72            <!-- see FullCell.xml for more details on membraneProperties-->
73
74            <channelDensity id="naChans"
75                            ionChannel="HH_Na"
76                            segmentGroup="soma_group"
77                            condDensity="120.0 mS_per_cm2"
78                            erev="50mV"/>  <!-- Temporarily specifying erev in the channelDensity element-->
79
80            <!-- Ions present inside the cell. Note: a fixed reversal potential is specified here 
81            <reversalPotential species="na" value="50mV"/>
82            <reversalPotential species="k" value="-77mV"/>-->
83
84            <!-- more needed -->
85        </membraneProperties>
86
87        <intracellularProperties>  <!-- used for bioelectrical properties inside a cell -->
88
89            <species id="ca">
90                <fixedConcentration  concentration="0.0001 mM"/>
91            </species>
92
93
94            <resistivity value="0.1 kohm_cm"/>  <!-- Used for specific axial resistance -->
95
96            <!-- REMOVED UNTIL WE CHECK HOW THE USAGE OF LEMS IMPACTS THIS...
97            <biochemistry reactionScheme="InternalCaDynamics"/>  Ref to earlier pathway -->
98
99        </intracellularProperties>
100
101    </biophysicalProperties>
102   
103
104
105<!--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-->
106<!-- A cell is created by referencing its morphology and membrane/internal properties -->
107
108    <cell id="PyrCell"
109          morphology="NeuroMorpho_PyrCell123"
110          biophysicalProperties="PyrCellChanDist"/>  <!-- see FullCell.xml for a full cell example -->
111
112
113
114<!--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-->
115<!-- A network of the cells is created -->
116
117    <network id="PyrCellNet">   
118   
119        <!-- see NestedNetwork.xml for a more detailed network containing these elements -->
120
121        <population id="Population1"
122                    cell="PyrCell"
123                    extracellularProperties="extracellular"
124                    size="9"> <!-- Population is "placed" in medium -->
125                    <!--
126            <layout space="Grid_2D">
127                <grid xSize="3" ySize="3"/>
128            </layout>-->
129
130        </population>
131
132        <!--<cellSet id="AllExcitatoryCells" select="Population1">
133             ...
134        </cellSet>-->
135
136        <projection id="Proj1">
137                <!-- ... -->
138        </projection>
139
140    </network>
141
142
143</neuroml>
Note: See TracBrowser for help on using the browser.