Viewing XML file: NeuroMLFiles/Examples/ChannelML/CellWithChannels.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

<?xml version="1.0" encoding="UTF-8"?>

<neuroml xmlns="http://morphml.org/neuroml/schema"
    xmlns:mml="http://morphml.org/morphml/schema"
    xmlns:meta="http://morphml.org/metadata/schema"
    xmlns:bio="http://morphml.org/biophysics/schema"  
    xmlns:cml="http://morphml.org/channelml/schema"  
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://morphml.org/neuroml/schema http://www.neuroml.org/NeuroMLValidator/NeuroMLFiles/Schemata/v1.8.1/Level2/NeuroML_Level2_v1.8.1.xsd"
    name = "Test Cell"
    length_units="micrometer"
>

        
    
<meta:notes>This example shows a Level 2 compliant file, containing morphology and
    channel information. Note that the specification of the channel mechanism
    would normally be in separate files.
</meta:notes>
                        
<!--Start with definition of the cell   -->
<cells>
    
<cell name="CellWithChannels">
    
        
<meta:notes>Test cell for showing how channels can be placed on a cell</meta:notes>
        
        
<segments xmlns="http://morphml.org/morphml/schema">
        
            
<segment id= "0" name = "SomaSeg" cable = "0">
                        
<proximal x="0" y="0" z="0" diameter="10"/>
                        
<distal x="10" y="0" z="0" diameter="10"/>
            
</segment>
        
            
<segment id= "1" name = "DendSeg1" parent = "0" cable = "1">
                        
<proximal x="10" y="0" z="0" diameter="5"/>
                        
<distal x="10" y="10" z="0" diameter="5"/>
            
</segment>    
            
            
<segment id= "2" name = "DendSeg2" parent = "1" cable = "1">
                        
<distal x="10" y="20" z="0" diameter="5"/>
            
</segment>  
            
            
<segment id= "3" name = "DendSeg3" parent = "2" cable = "1">
                        
<distal x="10" y="30" z="0" diameter="5"/>
            
</segment>    
            
            
            
<segment id= "4" name = "DendSeg4" parent = "0" cable = "2">
                        
<proximal x="0" y="0" z="0" diameter="3"/>
                        
<distal x="0" y="0" z="10" diameter="3"/>
            
</segment>                
                        
            
<segment id= "5" name = "DendSeg5" parent = "4" cable = "2">
                        
<distal x="0" y="0" z="20" diameter="3"/>
            
</segment>                
  
        
</segments>
        
        
        
<cables xmlns="http://morphml.org/morphml/schema">
            
<cable id= "0" name = "SomaSec">
                
<meta:group>all</meta:group>
                
<meta:group>soma_group</meta:group>
            
</cable>

            
<cable id= "1" name = "DendSec1"  fract_along_parent="0.5">
                
<meta:group>all</meta:group>
                
<meta:group>dendrite_group</meta:group>
            
</cable>

            
<cable id= "2" name = "DendSec2">
                
<meta:group>all</meta:group>
                
<meta:group>dendrite_group</meta:group>
            
</cable>
        
        
</cables>
        
        
<!-- Was the same as MorphML up to this point. Now the specification of the
             channel densities follows. Note: There is no requirement that the name specified here
             has to be present in the list of channels. This is because of the common practice of
             separating the channel mechanism specifications from the cell properties file (e.g. because
             the same cell mechanism can be on a number of cells)-->

        
        
<biophysics  units="Physiological Units" >  
            
<bio:mechanism name="pas"  type="Channel Mechanism">
                
<bio:parameter name="gmax" value="0.0330033">
                    
<bio:group>all</bio:group>
                
</bio:parameter>
            
</bio:mechanism>
            
<bio:spec_capacitance>
                
<bio:parameter value="1.0">
                    
<bio:group>all</bio:group>
                    
<bio:group>some</bio:group>
                
</bio:parameter>
            
</bio:spec_capacitance>
            
<bio:spec_axial_resistance>
                
<bio:parameter value="0.1">
                    
<bio:group>all</bio:group>
                
</bio:parameter>
            
</bio:spec_axial_resistance>
            
<bio:init_memb_potential>
                
<bio:parameter value="-70">
                    
<bio:group>all</bio:group>
                
</bio:parameter>
            
</bio:init_memb_potential>
        
</biophysics>

    
</cell>
</cells>



<!-- Specification of the channel mechanisms. Note: ideally these should each be in a separate file!!-->

<channels units="Physiological Units">
    
    
<channel_type name="pas" density="yes"   xmlns="http://morphml.org/channelml/schema">
    
        
<meta:notes>Simple example of a leak/passive conductance.</meta:notes>
        
        
<current_voltage_relation ion="non_specific" default_gmax="0.3" default_erev="-54.3"/>   <!-- phys units: mS/cm2-->
      
    
</channel_type>
    
</channels>


</neuroml>