- Author:
- David Nickerson <nickerso@users.sourceforge.net>
- Date:
- 2012-10-04 17:08:53+13:00
- Desc:
- tidy up this stipped down version of my HH model to match the VPH-MIP slides; moving time to its own model; removing all cmeta's from the documents; exposing time and the gating variables via the outputs component in the periodic-stimulus experiment.
- Permanent Source URI:
- http://models.cellml.org/w/andre/VPH-MIP/rawfile/30ab778d03a1aac5f3d62594a11c1757f5e35198/experiments/periodic-IStim-protocol.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<model xmlns="http://www.cellml.org/cellml/1.1#" xmlns:cellml="http://www.cellml.org/cellml/1.1#" xmlns:xlink="http://www.w3.org/1999/xlink" name="periodic_IStim">
<import xlink:href="../components/units.xml">
<units name="ms" units_ref="ms"/>
<units name="uA_per_cmsq" units_ref="uA_per_cmsq"/>
</import>
<component name="stimulus_protocol">
<variable name="IStim" public_interface="out" units="uA_per_cmsq"/>
<variable name="time" public_interface="in" units="ms"/>
<variable name="stimPeriod" public_interface="in" units="ms"/>
<variable name="stimDuration" public_interface="in" units="ms"/>
<variable name="stimCurrent" public_interface="in" units="uA_per_cmsq"/>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply id="stimulus_calculation"><eq/>
<ci>IStim</ci>
<piecewise>
<piece>
<ci>stimCurrent</ci>
<apply><lt/>
<apply><rem/>
<ci>time</ci>
<ci>stimPeriod</ci>
</apply>
<ci>stimDuration</ci>
</apply>
</piece>
<otherwise>
<cn cellml:units="uA_per_cmsq">0.0</cn>
</otherwise>
</piecewise>
</apply>
</math>
</component>
</model>