- Author:
- WeiweiAi <wai484@aucklanduni.ac.nz>
- Date:
- 2021-05-11 16:32:03+12:00
- Desc:
- simplify the documentation structure
- Permanent Source URI:
- https://models.cellml.org/workspace/64f/rawfile/3aa535ae990fdae6b8d960471d354aedac6f7739/cellml-2.0/experiments/periodic-IStim-protocol.xml
<?xml version="1.0" encoding="UTF-8"?><model xmlns="http://www.cellml.org/cellml/2.0#" xmlns:cellml="http://www.cellml.org/cellml/2.0#" 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" units="uA_per_cmsq" interface="public"/>
<variable name="time" units="ms" interface="public"/>
<variable name="stimPeriod" units="ms" interface="public"/>
<variable name="stimDuration" units="ms" interface="public"/>
<variable name="stimCurrent" units="uA_per_cmsq" interface="public"/>
<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>