<?xml version="1.0" encoding="UTF-8"?>
<neuroml xmlns="http://morphml.org/neuroml/schema"
    xmlns:mml="http://morphml.org/morphml/schema"
    xmlns:nml="http://morphml.org/networkml/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 NeuroML_Level2_v1.6.xsd"
    name = "NeuroML Level 2 file exported from NEURON"
    lengthUnits="micron">

<meta:notes>NeuroML Level 2 file generated by NEURON 6.1 ModelViewer
Authors: Michael Hines, Sushil Kambampati and Padraig Gleeson, Yale University and UCL.
Aditya Gilra, NCBS Bangalore modified this for use in his Olfactory Bulb model and also added connectivity information</meta:notes>

<cells>
  <cell name="mitral">
    <meta:notes>Cell: Mitral_0 exported from NEURON ModelView</meta:notes>
    <segments  xmlns="http://morphml.org/morphml/schema"> <!-- Changing namespace from neuroml to morphml-->
      <segment id="0" name = "Seg0_soma" cable = "0">
        <proximal x="0" y="0" z="0" diameter="20"/>
        <distal x="0" y="0" z="20" diameter="20"/>
      </segment>
      <segment id="24" name = "Seg0_hillock" parent="0" cable = "24">  <!-- Connected at 0 on parent section: Mitral[0].soma  -->
        <proximal x="0" y="0" z="0" diameter="260"/>
        <distal x="0" y="0" z="-5" diameter="260"/>
      </segment>
      <segment id="3" name = "Seg0_secden_1" parent="0" cable = "3">  <!-- Connected at 0 on parent section: Mitral[0].soma  -->
        <proximal x="0" y="0" z="0" diameter="2"/>
        <distal x="0" y="-500" z="0" diameter="2"/>
      </segment>
      <segment id="2" name = "Seg0_secden_0" parent="0" cable = "2">  <!-- Connected at 0 on parent section: Mitral[0].soma  -->
        <proximal x="0" y="0" z="0" diameter="2"/>
        <distal x="0" y="500" z="0" diameter="2"/>
      </segment>
      <segment id="1" name = "Seg0_priden" parent="0" cable = "1">  <!-- Parent section: Mitral[0].soma -->
        <proximal x="0" y="0" z="20" diameter="3"/>
        <distal x="0" y="0" z="320" diameter="3"/>
      </segment>
      <segment id="25" name = "Seg0_initialseg" parent="24" cable = "25">  <!-- Parent section: Mitral[0].hillock -->
        <proximal x="0" y="0" z="-5" diameter="1.5"/>
        <distal x="0" y="0" z="-35" diameter="1.5"/>
      </segment>
      <segment id="23" name = "Seg0_tuftden_19" parent="1" cable = "23">  <!-- Parent section: Mitral[0].priden -->
        <proximal x="0" y="0" z="320" diameter="0.4"/>
        <distal x="284.324" y="-92.3841" z="345" diameter="0.4"/>
      </segment>
      <segment id="22" name = "Seg0_tuftden_18" parent="1" cable = "22">  <!-- Parent section: Mitral[0].priden -->
        <proximal x="0" y="0" z="320" diameter="0.4"/>
        <distal x="241.86" y="-175.723" z="345" diameter="0.4"/>
      </segment>
      <segment id="21" name = "Seg0_tuftden_17" parent="1" cable = "21">  <!-- Parent section: Mitral[0].priden -->
        <proximal x="0" y="0" z="320" diameter="0.4"/>
        <distal x="175.721" y="-241.862" z="345" diameter="0.4"/>
      </segment>
      <segment id="20" name = "Seg0_tuftden_16" parent="1" cable = "20">  <!-- Parent section: Mitral[0].priden -->
        <proximal x="0" y="0" z="320" diameter="0.4"/>
        <distal x="92.3814" y="-284.325" z="345" diameter="0.4"/>
      </segment>
      <segment id="19" name = "Seg0_tuftden_15" parent="1" cable = "19">  <!-- Parent section: Mitral[0].priden -->
        <proximal x="0" y="0" z="320" diameter="0.4"/>
        <distal x="-0.00118996" y="-298.957" z="345" diameter="0.4"/>
      </segment>
      <segment id="18" name = "Seg0_tuftden_14" parent="1" cable = "18">  <!-- Parent section: Mitral[0].priden -->
        <proximal x="0" y="0" z="320" diameter="0.4"/>
        <distal x="-92.3837" y="-284.324" z="345" diameter="0.4"/>
      </segment>
      <segment id="17" name = "Seg0_tuftden_13" parent="1" cable = "17">  <!-- Parent section: Mitral[0].priden -->
        <proximal x="0" y="0" z="320" diameter="0.4"/>
        <distal x="-175.723" y="-241.86" z="345" diameter="0.4"/>
      </segment>
      <segment id="16" name = "Seg0_tuftden_12" parent="1" cable = "16">  <!-- Parent section: Mitral[0].priden -->
        <proximal x="0" y="0" z="320" diameter="0.4"/>
        <distal x="-241.861" y="-175.721" z="345" diameter="0.4"/>
      </segment>
      <segment id="15" name = "Seg0_tuftden_11" parent="1" cable = "15">  <!-- Parent section: Mitral[0].priden -->
        <proximal x="0" y="0" z="320" diameter="0.4"/>
        <distal x="-284.325" y="-92.3818" z="345" diameter="0.4"/>
      </segment>
      <segment id="14" name = "Seg0_tuftden_10" parent="1" cable = "14">  <!-- Parent section: Mitral[0].priden -->
        <proximal x="0" y="0" z="320" diameter="0.4"/>
        <distal x="-298.957" y="0.000793308" z="345" diameter="0.4"/>
      </segment>
      <segment id="13" name = "Seg0_tuftden_9" parent="1" cable = "13">  <!-- Parent section: Mitral[0].priden -->
        <proximal x="0" y="0" z="320" diameter="0.4"/>
        <distal x="-284.324" y="92.3833" z="345" diameter="0.4"/>
      </segment>
      <segment id="12" name = "Seg0_tuftden_8" parent="1" cable = "12">  <!-- Parent section: Mitral[0].priden -->
        <proximal x="0" y="0" z="320" diameter="0.4"/>
        <distal x="-241.861" y="175.723" z="345" diameter="0.4"/>
      </segment>
      <segment id="11" name = "Seg0_tuftden_7" parent="1" cable = "11">  <!-- Parent section: Mitral[0].priden -->
        <proximal x="0" y="0" z="320" diameter="0.4"/>
        <distal x="-175.722" y="241.861" z="345" diameter="0.4"/>
      </segment>
      <segment id="10" name = "Seg0_tuftden_6" parent="1" cable = "10">  <!-- Parent section: Mitral[0].priden -->
        <proximal x="0" y="0" z="320" diameter="0.4"/>
        <distal x="-92.3822" y="284.325" z="345" diameter="0.4"/>
      </segment>
      <segment id="9" name = "Seg0_tuftden_5" parent="1" cable = "9">  <!-- Parent section: Mitral[0].priden -->
        <proximal x="0" y="0" z="320" diameter="0.4"/>
        <distal x="0.000396654" y="298.957" z="345" diameter="0.4"/>
      </segment>
      <segment id="8" name = "Seg0_tuftden_4" parent="1" cable = "8">  <!-- Parent section: Mitral[0].priden -->
        <proximal x="0" y="0" z="320" diameter="0.4"/>
        <distal x="92.3829" y="284.324" z="345" diameter="0.4"/>
      </segment>
      <segment id="7" name = "Seg0_tuftden_3" parent="1" cable = "7">  <!-- Parent section: Mitral[0].priden -->
        <proximal x="0" y="0" z="320" diameter="0.4"/>
        <distal x="175.722" y="241.861" z="345" diameter="0.4"/>
      </segment>
      <segment id="6" name = "Seg0_tuftden_2" parent="1" cable = "6">  <!-- Parent section: Mitral[0].priden -->
        <proximal x="0" y="0" z="320" diameter="0.4"/>
        <distal x="241.861" y="175.722" z="345" diameter="0.4"/>
      </segment>
      <segment id="5" name = "Seg0_tuftden_1" parent="1" cable = "5">  <!-- Parent section: Mitral[0].priden -->
        <proximal x="0" y="0" z="320" diameter="0.4"/>
        <distal x="284.325" y="92.3826" z="345" diameter="0.4"/>
      </segment>
      <segment id="4" name = "Seg0_tuftden_0" parent="1" cable = "4">  <!-- Parent section: Mitral[0].priden -->
        <proximal x="0" y="0" z="320" diameter="0.4"/>
        <distal x="298.957" y="0" z="345" diameter="0.4"/>
      </segment>
    </segments>
    <cables  xmlns="http://morphml.org/morphml/schema"> <!-- Changing namespace from neuroml to morphml-->
      <cable id = "0" name = "soma" fractAlongParent = "0"/>
      <cable id = "24" name = "hillock" fractAlongParent = "0"/>
      <cable id = "3" name = "secden_1" fractAlongParent = "0"/>
      <cable id = "2" name = "secden_0" fractAlongParent = "0"/>
      <cable id = "1" name = "priden"/>
      <cable id = "25" name = "initialseg"/>
      <cable id = "23" name = "tuftden_19"/>
      <cable id = "22" name = "tuftden_18"/>
      <cable id = "21" name = "tuftden_17"/>
      <cable id = "20" name = "tuftden_16"/>
      <cable id = "19" name = "tuftden_15"/>
      <cable id = "18" name = "tuftden_14"/>
      <cable id = "17" name = "tuftden_13"/>
      <cable id = "16" name = "tuftden_12"/>
      <cable id = "15" name = "tuftden_11"/>
      <cable id = "14" name = "tuftden_10"/>
      <cable id = "13" name = "tuftden_9"/>
      <cable id = "12" name = "tuftden_8"/>
      <cable id = "11" name = "tuftden_7"/>
      <cable id = "10" name = "tuftden_6"/>
      <cable id = "9" name = "tuftden_5"/>
      <cable id = "8" name = "tuftden_4"/>
      <cable id = "7" name = "tuftden_3"/>
      <cable id = "6" name = "tuftden_2"/>
      <cable id = "5" name = "tuftden_1"/>
      <cable id = "4" name = "tuftden_0"/>
      <cablegroup name="all"> <!-- Replacing subset name ModelViewParmSubset_0 with all, as it contains all sections -->
        <cable id = "0"/>
        <cable id = "24"/>
        <cable id = "3"/>
        <cable id = "2"/>
        <cable id = "1"/>
        <cable id = "25"/>
        <cable id = "23"/>
        <cable id = "22"/>
        <cable id = "21"/>
        <cable id = "20"/>
        <cable id = "19"/>
        <cable id = "18"/>
        <cable id = "17"/>
        <cable id = "16"/>
        <cable id = "15"/>
        <cable id = "14"/>
        <cable id = "13"/>
        <cable id = "12"/>
        <cable id = "11"/>
        <cable id = "10"/>
        <cable id = "9"/>
        <cable id = "8"/>
        <cable id = "7"/>
        <cable id = "6"/>
        <cable id = "5"/>
        <cable id = "4"/>
      </cablegroup>
      <cablegroup name="ModelViewParmSubset_1"> 
        <cable id = "0"/>
        <cable id = "24"/>
        <cable id = "3"/>
        <cable id = "2"/>
        <cable id = "1"/>
        <cable id = "23"/>
        <cable id = "22"/>
        <cable id = "21"/>
        <cable id = "20"/>
        <cable id = "19"/>
        <cable id = "18"/>
        <cable id = "17"/>
        <cable id = "16"/>
        <cable id = "15"/>
        <cable id = "14"/>
        <cable id = "13"/>
        <cable id = "12"/>
        <cable id = "11"/>
        <cable id = "10"/>
        <cable id = "9"/>
        <cable id = "8"/>
        <cable id = "7"/>
        <cable id = "6"/>
        <cable id = "5"/>
        <cable id = "4"/>
      </cablegroup>
      <cablegroup name="OneSecGrp_SectionRef_6"> <!-- Creating a group containing a single section... -->
        <cable id = "25"/>
      </cablegroup>
      <cablegroup name="tuft"> 
        <cable id = "23"/>
        <cable id = "22"/>
        <cable id = "21"/>
        <cable id = "20"/>
        <cable id = "19"/>
        <cable id = "18"/>
        <cable id = "17"/>
        <cable id = "16"/>
        <cable id = "15"/>
        <cable id = "14"/>
        <cable id = "13"/>
        <cable id = "12"/>
        <cable id = "11"/>
        <cable id = "10"/>
        <cable id = "9"/>
        <cable id = "8"/>
        <cable id = "7"/>
        <cable id = "6"/>
        <cable id = "5"/>
        <cable id = "4"/>
      </cablegroup>
    </cables>
    <biophysics  units = "Physiological Units"> <!-- Note: values of cond dens are different in NEURON and phy units-->
      <bio:mechanism name="pas" type="Channel Mechanism" passive_conductance="true">
        <bio:parameter name="gmax" value="0.0833333">
          <bio:group>ModelViewParmSubset_1</bio:group>
        </bio:parameter>
        <bio:parameter name="gmax" value="1">
          <bio:group>OneSecGrp_SectionRef_6</bio:group> <!-- initialseg-->
        </bio:parameter>
        <bio:parameter name="e" value="-65">
          <bio:group>all</bio:group>
        </bio:parameter>
      </bio:mechanism>
      <bio:mechanism name="KA_ms" type="Channel Mechanism">
        <bio:parameter name="gmax" value="4">
          <bio:group>ModelViewParmSubset_1</bio:group>
        </bio:parameter>
        <bio:parameter name="gmax" value="80">
          <bio:group>OneSecGrp_SectionRef_6</bio:group>
        </bio:parameter>
      </bio:mechanism>
      <bio:mechanism name="KDR_ms" type="Channel Mechanism">
        <bio:parameter name="gmax" value="0.1">
          <bio:group>all</bio:group>
        </bio:parameter>
      </bio:mechanism>
      <bio:mechanism name="Na_mit_ms" type="Channel Mechanism">
        <bio:parameter name="gmax" value="40">
          <bio:group>ModelViewParmSubset_1</bio:group>
        </bio:parameter>
      </bio:mechanism>
      <bio:mechanism name="Na_mit_initialsegment_ms" type="Channel Mechanism">
        <bio:parameter name="gmax" value="800">
          <bio:group>OneSecGrp_SectionRef_6</bio:group>
        </bio:parameter>
      </bio:mechanism>
      <bio:spec_capacitance>
        <bio:parameter value="1.8">
          <bio:group>all</bio:group>
        </bio:parameter>
      </bio:spec_capacitance>
      <bio:spec_axial_resistance>
        <bio:parameter value="0.15">
          <bio:group>all</bio:group>
        </bio:parameter>
      </bio:spec_axial_resistance>
      <bio:init_memb_potential>
        <bio:parameter value="-65">  
          <bio:group>all</bio:group>
        </bio:parameter>
      </bio:init_memb_potential>
    </biophysics>
    <connectivity>
      <nml:potential_syn_loc synapse_type="ORN_mitral" synapse_direction="post">
        <nml:group>tuft</nml:group> <!-- glom tuft compartments -->
      </nml:potential_syn_loc>
      <nml:potential_syn_loc synapse_type="PG_mitral" synapse_direction="post">
        <nml:group>tuft</nml:group> <!-- glom tuft compartments -->
      </nml:potential_syn_loc>
    </connectivity>
  </cell>
</cells>
</neuroml>