<?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.0/Level3/NeuroML_Level3_v1.8.0.xsd"
    name = "NeuroML Level 1 file exported from NEURON"
    lengthUnits="micron">

<meta:notes>author: Aditya Gilra adapted from Migliore and Shepherd 2007.</meta:notes>

<cells>
  <cell name="granule">
    <meta:notes>Cell: granule morphml written by hand by Aditya.</meta:notes>
    <segments  xmlns="http://morphml.org/morphml/schema"> <!-- Changing the namespace from neuroml to morphml-->
<!-- Section: soma -->
      <segment id="0" name = "soma" cable = "0">
        <proximal x="0" y="0" z="0" diameter="8"/>
        <distal x="0" y="0" z="8" diameter="8"/>
      </segment>
<!-- Section: periphery -->
      <segment id="1" name = "periphery" parent="0" cable = "1">  <!-- Connected at 1 on parent section: soma  -->
        <proximal x="0" y="0" z="8" diameter="0.5"/>
        <distal x="0" y="0" z="158" diameter="0.5"/>
      </segment>
    </segments>
    <cables  xmlns="http://morphml.org/morphml/schema"> <!-- Changing namespace from neuroml to morphml-->
      <cable id = "0" name = "soma" fract_along_parent = "0"/>
      <cable id = "1" name = "periphery" fract_along_parent = "1"/>
      <cablegroup name="all">
        <cable id = "0"/>
        <cable id = "1"/>
      </cablegroup>
      <cablegroup name="soma"> 
        <cable id = "0"/>
      </cablegroup>
      <cablegroup name="periphery"> 
        <cable id = "1"/>
      </cablegroup>
    </cables>
      <biophysics units='Physiological Units'>
        <!-- Note: values of cond dens are different in NEURON and phy units-->
        <bio:mechanism xmlns:bio='http://morphml.org/biophysics/schema' passive_conductance='true' type='Channel Mechanism' name='pas'>
          <bio:parameter name='gmax' value='0.01'>
            <bio:group>all</bio:group>
          </bio:parameter>
          <bio:parameter name='gmax' value='0.259041'>
            <bio:group>all</bio:group>
          </bio:parameter>
          <bio:parameter name='e' value='-65'>
            <bio:group>all</bio:group>
          </bio:parameter>
        </bio:mechanism>
        <bio:spec_capacitance xmlns:bio='http://morphml.org/biophysics/schema'>
          <bio:parameter value='1'>
            <bio:group>all</bio:group>
          </bio:parameter>
        </bio:spec_capacitance>
        <bio:spec_axial_resistance xmlns:bio='http://morphml.org/biophysics/schema'>
          <bio:parameter value='0.2'>
            <bio:group>all</bio:group>
          </bio:parameter>
        </bio:spec_axial_resistance>
      </biophysics>
  </cell>
</cells>
</neuroml>