Transforming XML file: NeuroMLFiles/Examples/ChannelMLSyns/MultiDecaySyn.xml using XSL file: NeuroMLFiles/Schemata/v1.8.1/Level2/ChannelML_v1.8.1_GENESIStab.xsl

View original file before transform

Converting the file: MultiDecaySyn.xml

// This is a GENESIS script file generated from a ChannelML v1.8.1 file
// The ChannelML file is mapped onto a tabchannel object


// Units of ChannelML file: Physiological Units, units of GENESIS file generated: Physiological Units

/*
    ChannelML file describing a more complex synaptic mechanism
*/

function makechannel_MultiDecaySynapse(compartment, name)
        
        /*
            Example of a synaptic mechanism incorporating multiple decay constants, e.g.
        when EPSC has a main rapid component, and a smaller 'tail' with a longer time course. Mapping exists currently only for NEURON
        */
        
        str compartment
        str name

        if (!({exists {compartment}/{name}}))

            create synchan {compartment}/{name}


        end

end
    

Time to transform file: 0.086 secs