Transforming XML file: NeuroMLFiles/Examples/ChannelMLSyns/SingleExpSyn.xml using XSL file: NeuroMLFiles/Schemata/v1.7.2/Level2/ChannelML_v1.7.2_GENESIStab.xsl
View original file before transform
|
Converting the file: SingleExpSyn.xml// This is a GENESIS script file generated from a ChannelML v1.7.2 file// The ChannelML file is mapped onto a tabchannel object // Units of ChannelML file: Physiological Units, units of GENESIS file generated: SI Units /* ChannelML file describing a single synaptic mechanism */ function makechannel_SingleExpSyn(compartment, name) /* Simple example of a synaptic mechanism, which consists of a postsynaptic conductance which jumps to max_conductance on activation and decays as an exponential function of time with time constant decay_time. Mappings exist for NEURON and GENESIS. */ str compartment str name if (!({exists {compartment}/{name}})) create synchan {compartment}/{name} setfield ^ \ Ek 0 \ tau1 0.002 \ tau2 0 \ gmax 0.00000001 float tau1 = {getfield {compartment}/{name} tau1} if (tau1 == 0) setfield {compartment}/{name} tau1 1e-9 end addmsg {compartment}/{name} {compartment} CHANNEL Gk Ek addmsg {compartment} {compartment}/{name} VOLTAGE Vm end end |
Time to transform file: 0.064 secs