<CellProperties id="membrane-leak"
      cytoplasmResistivity="150ohm_cm"
      membraneCapacitance="1uF_per_cm2">

	<PassiveProperties region="apical*" membraneCapacitance="2uF_per_cm2"/>
	<PassiveProperties region="axon*" cytoplasmResistivity="150ohm_cm"/>

	<ChannelPopulation channel="leak-Na" density="0.179per_um2"/>
	<ChannelPopulation channel="leak-K" density="0.179per_um2"/>

    <CellRegion match="*soma*">
        <ChannelPopulation channel="Na3-coded-soma" density="21.33per_um2"/>
		<ChannelPopulation channel="Kdrca1" density="3.33per_um2"/>
        <ChannelPopulation channel="Kaprox-coded" density="16per_um2"/>
	</CellRegion>

	<CellRegion match="*axon*">
	    <ChannelPopulation channel="Nax-coded" density="21.33per_um2"/>
		<ChannelPopulation channel="Kdrca1" density="3.33per_um2"/>
		<ChannelPopulation channel="Kaprox-coded" density="3.2per_um2"/>
	</CellRegion>


 <CellRegion match="*basal*">
	    <ChannelPopulation channel="Na3-coded-basal" density="21.33per_um2"/>
		<ChannelPopulation channel="Kdrca1" density="3.33per_um2"/>
		<ChannelPopulation channel="Kaprox-coded" density="16per_um2"/>
	</CellRegion>


	<CellRegion match="*apical*">
	    <ChannelPopulation channel="Na3-coded-apical" density="21.33per_um2" distribution="fat500"/>
	    <ChannelPopulation channel="Kdrca1" density="3.33per_um2" distribution="fat500"/>

        <ChannelPopulation channel="Kaprox-coded" density="16per_um2" distribution="kaprox"/>
   	    <ChannelPopulation channel="Kadist-coded" density="16per_um2" distribution="kadist"/>
<!--
   -->

    </CellRegion>




	<DistributionRule id="fat500">
    	<RegionMask action="exclude" where="diameter .lt. 0.5"/>
    	<RegionMask action="exclude" where="path .gt. 500"/>
    </DistributionRule>



	<DistributionRule id="kaprox" expression="(1 + path / 100)">
		<RegionMask action="exclude" where="path .gt. 100"/>
	</DistributionRule>


	<DistributionRule id="kadist" expression="(1 + path / 100)">
		<RegionMask action="exclude" where="path .lt. 100"/>
		<RegionMask action="exclude" where="path .gt. 500"/>
	</DistributionRule>

    <DensityAdjustment maintain="-65mV" vary="leak-Na, leak-K"/>

</CellProperties>

