Transforming XML file: NeuroMLFiles/Examples/ChannelML/CaHVA_Chan.xml using XSL file: NeuroMLFiles/Schemata/v1.8.1/Level2/ChannelML_v1.8.1_PSICS.xsl
View original file before transform
|
Converting the file: CaHVA_Chan.xml<KSChannel id="Gran_CaHVA_98" permeantIon="ca" gSingle="30pS"><KSComplex instances="2"> <ClosedState id="m0"/> <OpenState id="m"/> <TauInfCodedTransition from="m0" to="m" tauvar="mtau" infvar="minf"><![CDATA[ double rate = 0; double scale = 0; double midpoint = 0; double temp_adj_m = Math.pow(3, (temperature - 17.350264793)/10); double offset = 0.010; v = v + offset; double alpha = 0; rate = 1.6; scale = -13.888888889999999; midpoint = 5; alpha = rate / (Math.exp((v - midpoint) / scale) + 1); double beta = 0; rate = 0.1; scale = -5; midpoint = -8.9; if ( 1e-6 > (Math.abs((v - midpoint)/ scale))) { beta = rate * (1 + (v - midpoint)/scale/2); } else { beta = rate * ((v - midpoint) / scale) /(1 - (Math.exp(-1 * (v - midpoint)/scale))); } mtau = 1/(alpha + beta); mtau = mtau/temp_adj_m; minf = alpha/(alpha + beta); ]]></TauInfCodedTransition> </KSComplex> <KSComplex instances="1"> <ClosedState id="h0"/> <OpenState id="h"/> <TauInfCodedTransition from="h0" to="h" tauvar="htau" infvar="hinf"><![CDATA[ double rate = 0; double scale = 0; double midpoint = 0; double temp_adj_h = Math.pow(3, (temperature - 17.350264793)/10); double offset = 0.010; v = v + offset; double alpha = 0; if (v < -0.060 ) { alpha = 5.0 ; } else { alpha = 5 * (Math.exp (-50 * (v - (-0.060)))); } double beta = 0; if (v < -0.060 ) { beta = 0 ; } else { beta = 5 - (5 * (Math.exp (-50 * (v - (-0.060))))); } htau = 1/(alpha + beta); htau = htau/temp_adj_h; hinf = alpha/(alpha + beta); ]]></TauInfCodedTransition> </KSComplex> </KSChannel> |
Time to transform file: 0.025 secs