<Morphology>


    <!-- spine morphologies: width for sections along the spine -->

    <SpineType id="spineA">
	<Section width="0.2" at="0.0" regionClass="neck"/>
	<Section width="0.2" at="0.2" regionClass="neck"/>
	<Section width="0.2" at="0.3" regionClass="head"/>
	<Section width="0.6" at="0.4" regionClass="head"/>  
	<Section width="0.6" at="0.5" regionClass="PSD"/>
	<Section width="0.2" at="0.6" label="pointA"/>
    </SpineType>

    <!-- regionClass labels can apply to sections or segments and label regions for applying initial conditaions etc -->


    <!-- lengthDensity means you set the number per micron along the segment -->
    <SpineAllocation id="sa0"  spineType="spineA" region="dend1"  lengthDensity="1.0"/>
    <SpineAllocation id="sa1"  spineType="spineA" region="dend1a" lengthDensity="0.3"/>
    <SpineAllocation id="sa2"  spineType="spineA" region="dend2"  lengthDensity="0.4"/>
    <SpineAllocation id="sa3"  spineType="spineA" region="dend3a" lengthDensity="1.5"/>
    <SpineAllocation id="sa4"  spineType="spineA" region="dend4"  lengthDensity="0.7"/>
    <SpineAllocation id="sa5"  spineType="spineA" region="dend5"  lengthDensity="1.2"/>
    <SpineAllocation id="sa6"  spineType="spineA" region="dend6"  lengthDensity="0.7"/>
    <SpineAllocation id="sa7"  spineType="spineA" region="dend7a" lengthDensity="1.2"/>
    <SpineAllocation id="sa8"  spineType="spineA" region="dend8"  lengthDensity="0.7"/>
    <SpineAllocation id="sa9"  spineType="spineA" region="dend9"  lengthDensity="0.7"/>
<!--    
    <Segment id="seg1" region="region1">
	<start x="1.0" y="1.0" z="0.0" r="0.3"/>
	<end x="5.0" y="1.0" z="0.0" r="0.3"/>
    </Segment>
-->
   
    <Segment id="seg1" region="dend1">
	<start x="0.0" y="1.0"   z="0.0"   r="0.3"/>
	<end   x="2.0" y="1.0"   z="0.0"   r="0.3"/>
    </Segment>

    <Segment id="seg1a" region="dend1a">
        <start on="seg1" at="end"                 />
        <end   x="3.0" y="1.0"   z="0.0"   r="0.3"/>
    </Segment>
    
    <Segment id="seg2" region="dend2">
	<start on="seg1a" at="end"                />
	<end   x="4.75"  y="1.0" z="0.0"   r="0.3" label="pointB"/>
    </Segment>

    <Segment id="seg3a" region="dend3a">
        <start on="seg2" at="end"                />
        <end   x="6.75"  y="1.0" z="0.0"  r="0.3"/>
    </Segment>

    <Segment id="seg3" region="dend3">
	<start on="seg3a" at="end"               />
	<end   x="7.75"  y="1.0" z="0.0"  r="0.3"/>
    </Segment>



    <Segment id="seg4" region="dend4">
        <start on="seg3"   at="end"               />
        <end   x="9.75" y="1.0"  z="0.0"   r="0.3"/>
    </Segment>

    <Segment id="seg4a" region="dend4a">
        <start on="seg4" at="end"                 />
        <end   x="10.75" y="1.0" z="0.0"   r="0.3"/>
    </Segment>

    <Segment id="seg5" region="dend5">
        <start on="seg4a" at="end"                />
        <end   x="12.5"  y="1.0" z="0.0"   r="0.3" label="pointC"/>
    </Segment>

    <Segment id="seg6a" region="dend6a">
        <start on="seg5" at="end"                />
        <end   x="13.5"  y="1.0" z="0.0"  r="0.3"/>
    </Segment>

    <Segment id="seg6" region="dend6">
        <start on="seg6a" at="end"               />
        <end   x="15.5"  y="1.0" z="0.0"  r="0.3"/>
    </Segment>



    <Segment id="seg7" region="dend7">
        <start on="seg6"   at="end"               />
        <end   x="16.5" y="1.0"  z="0.0"   r="0.3"/>
    </Segment>

    <Segment id="seg7a" region="dend7a">
        <start on="seg7" at="end"                 />
        <end   x="18.5"  y="1.0" z="0.0"   r="0.3"/>
    </Segment>

    <Segment id="seg8" region="dend8">
        <start on="seg7a" at="end"                />
        <end   x="20.25"  y="1.0" z="0.0"   r="0.3" label="pointD"/>
    </Segment>

    <Segment id="seg9a" region="dend9a">
        <start on="seg8" at="end"                />
        <end   x="21.25" y="1.0" z="0.0"  r="0.3"/>
    </Segment>

    <Segment id="seg9" region="dend9">
        <start on="seg9a" at="end"               />
        <end   x="23.25"  y="1.0" z="0.0"  r="0.3"/>
    </Segment>

</Morphology>