Viewing XML file: NeuroMLFiles/Examples/NetworkML/ExtendNetSpec.xml

Download this file

Validate this file against current (v1.8.1) Schema
Validate this file against all Schemata

Edit this file and revalidate it

<neuroml xmlns=""  


<meta:notes>A network of cells connected in NeuroML Level 3. Extra tags are included to give an
      idea how the standard can be extended. Note most NeuroML compliant applications will ignore this extra
      data, but will still be able to extract the essential physiological information.

<cell name="CellA">
<meta:notes>Simple test cell, just 2 segments</meta:notes>               <!-- Human readable comment -->
<meta:property tag="Abstraction level" value="Reduced cell model"/>  <!-- Property of the cell. Meaningful to some applications -->
<segments xmlns="">
<segment id ="0" name="Soma"  cable="0">
<proximal x="0" y="0" z="0" diameter="10"/>
<distal x="10" y="0" z="0" diameter="10"/>
<segment id ="1" name="Dendrite" parent="0" cable="1">
<proximal x="10" y="0" z="0" diameter="3"/>
<distal x="100" y="0" z="0" diameter="3"/>
<meta:property tag="display:transparency" value="50%"/>        <!-- Show this segment as 50% transparent -->

<cables xmlns="">
<cable id="0" name="SomaCable">
<meta:property tag="display:colour" value="red"/>          <!-- Colour for displaying the soma -->
<cable id="1" name="DendriteCable">
<meta:property tag="display:colour" value="green"/>        <!-- Colour for displaying the dendrite -->
<biophysics  units="Physiological Units" >

<bio:mechanism name="pas"  type="Channel Mechanism">
<bio:parameter name="gmax" value="0.033">
<!-- Only gmax is a standardised parameter name, but the extra values below could be used -->
<!--  by an application which wishes to vary the properties of a cell between instances. -->

<bio:parameter name="gmax_max" value="0.011">        
<bio:parameter name="gmax_min" value="0.055">

<!-- The channel mechanism here is only available in a NEURON NMODL file -->

<bio:mechanism name="Na_Channel_NMODL" type="Channel Mechanism">
<bio:parameter name="gmax" value="0.8">

<bio:parameter value="1.0">
<bio:parameter value="0.1">
<!-- The biophysical mechanisms present in the network-->
<channels units="Physiological Units">

<channel_type name="pas" density="yes"   xmlns="">
<meta:notes>Simple example of a leak/passive conductance.</meta:notes>
<current_voltage_relation cond_law="ohmic" ion="non_specific" default_erev="-54.3" default_gmax="0.3"/>
<synapse_type name="DoubExpSynA"  xmlns="">

<meta:property tag="Impl requirement" value="dt less than 0.02 ms"/> <!-- Suggestions for implementation of model -->

<doub_exp_syn max_conductance="1.0E-5" rise_time=".1" decay_time="2" reversal_potential="0"/>

<synapse_type name="VoltDepGapJunc"  xmlns="">

<electrical_syn  conductance="1.0E-9">

                 Note: this is a CUSTOM EXTENSION. The parsing application which generates the NMODL
                 file for NEURON should replace the standard Ohmic current at a gap junction:

                   i = weight * g * (v - vgap)

                 with the voltage dependent one below. The file remains valid NeuroML. Only
                 simulators which support this custom extension will model the synpase correctly.
                 Note: not a physiological voltage dependence.

<meta:property tag="NMODL current expression" value="i = weight * g * (v - vgap) * (v - vgap)"/>



<!-- The cell populations present in the network-->

<populations  xmlns="">
<population name="CellGroupA" cell_type="CellA">
<instances size="3">
<instance id="0">
<meta:property tag="display:transparency" value="0.9"/>    <!-- Transparency of the the cell -->
<location x="0" y="0" z="0"/>
<instance id="1">
<meta:property tag="colour" value="red"/>
<location x="0" y="10" z="0"/>
<instance id="2">
<meta:property tag="colour" value="green"/>
<location x="0" y="20" z="0"/>
<population name="CellGroupB" cell_type="CellA">
<instances size="2">
<instance id="0"><location x="0" y="100" z="0"/></instance>
<instance id="1"><location x="20" y="100" z="0"/></instance>
<!-- The projections between populations in the network-->
<projections units="Physiological Units" xmlns="">
<projection name="NetworkConnection" source="CellGroupA" target="CellGroupB">
<synapse_props synapse_type="VoltDepGapJunc"/>
<connection id="0" pre_cell_id="0" pre_segment_id = "0" post_cell_id="1" post_segment_id = "1">
<meta:property tag="display:weight" value="bold"/>   <!-- A flag to highlight this connection -->
<connection id="1" pre_cell_id="2" pre_segment_id = "0" post_cell_id="1" post_segment_id = "0"/>
<connection id="2" pre_cell_id="3" pre_segment_id = "0" post_cell_id="1" post_segment_id = "1"/>