Transforming XML file: NeuroMLFiles/Examples/ChannelML/NaF_Chan.xml using XSL file: NeuroMLFiles/Schemata/v1.8.0/Level2/ChannelML_v1.8.0_NEURONChanBuild.xsl

View original file before transform

Converting the file: NaF_Chan.xml

// This is a NEURON Channel Builder file generated from a ChannelML file
//
// NOTE: Not all cases allowable in the ChannelML specification are implemented in this yet,
// generally it's just the parameterised (Adk) form of the channels that's supported. The mod file mapping
// will support most parts of the specification. This Channel Builder form should be used if
// the channel is specified as a kinetic scheme.
//
// It assumes the ChannelML file contains only a single conductance i.e. one channel_type element.


// Unit system of ChannelML file: SI Units, which have been converted to NEURON units

    
// Creating the main ks objects

objref ks, ksvec, ksgate, ksstates, kstransitions, tobj
{
    ksvec = new Vector()
    ksstates = new List()
    kstransitions = new List()
    ks = new KSChan(0)
}

   
// Setting the properties of the KSChan
{
    ks.name("Gran_NaF_98")
    ks.ion("")
    ks.iv_type(???) // Note, only ohmic supported in current version
    ks.gmax(NaN)
    ks.erev(NaN)
}





{ objref ks, ksvec, ksgate, ksstates, kstransitions, tobj }

Time to transform file: 0.02 secs