- Author:
- David Nickerson <david.nickerson@gmail.com>
- Date:
- 2021-09-17 15:39:51+12:00
- Desc:
- tweak html formatting
- Permanent Source URI:
- https://models.fieldml.org/workspace/a1/rawfile/c47db6b2fedb368422c7f4d5191aeb9f319ad684/models/protocols/periodic-IStim.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<model
name="periodic_IStim"
cmeta:id="periodic_IStim"
xmlns="http://www.cellml.org/cellml/1.1#"
xmlns:cellml="http://www.cellml.org/cellml/1.1#"
xmlns:cmeta="http://www.cellml.org/metadata/1.0#"
xmlns:xlink="http://www.w3.org/1999/xlink">
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cmeta="http://www.cellml.org/metadata/1.0#"
xmlns:bqs="http://www.cellml.org/bqs/1.0#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:vCard="http://www.w3.org/2001/vcard-rdf/3.0#">
<rdf:Description rdf:about="">
<dc:creator rdf:parseType="Resource">
<vCard:N rdf:parseType="Resource">
<vCard:Family>Nickerson</vCard:Family>
<vCard:Given>David</vCard:Given>
</vCard:N>
<vCard:EMAIL rdf:parseType="Resource">
<rdf:value>david.nickerson@nus.edu.sg</rdf:value>
<rdf:type rdf:resource="http://imc.org/vCard/3.0#internet" />
</vCard:EMAIL>
<vCard:ORG rdf:parseType="Resource">
<vCard:Orgname>National University of Singapore</vCard:Orgname>
<vCard:Orgunit>Division of Bioengineering</vCard:Orgunit>
</vCard:ORG>
</dc:creator>
<dcterms:created rdf:parseType="Resource">
<dcterms:W3CDTF>2006-07-31</dcterms:W3CDTF>
</dcterms:created>
</rdf:Description>
<rdf:Description rdf:about="#periodic_IStim">
<dc:title>
Protocol defining a periodic stimulus current.
</dc:title>
<cmeta:comment rdf:parseType="Resource">
<rdf:value>
This CellML file describes the protocol for the application of
a periodic stimulus current.
</rdf:value>
<dc:creator rdf:parseType="Resource">
<vCard:FN>David Nickerson</vCard:FN>
</dc:creator>
</cmeta:comment>
</rdf:Description>
</rdf:RDF>
<import xlink:href="../common/units.xml">
<units name="ms" units_ref="ms"/>
<units name="uA_per_mmsq" units_ref="uA_per_mmsq"/>
<units name="uA_per_mmcu" units_ref="uA_per_mmcu"/>
<units name="mV" units_ref="mV"/>
<units name="mS_per_mmsq" units_ref="mS_per_mmsq"/>
<units name="per_mm" units_ref="per_mm"/>
</import>
<component name="stimulus_protocol" cmeta:id="stimulus_protocol">
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cmeta="http://www.cellml.org/metadata/1.0#">
<rdf:Description rdf:about="#stimulus_protocol">
<cmeta:comment rdf:parseType="Resource">
<rdf:value>
Here we define the periodic stimulus protocol.
</rdf:value>
</cmeta:comment>
</rdf:Description>
</rdf:RDF>
<variable cmeta:id="IStim" name="IStim" public_interface="out" units="uA_per_mmsq"/>
<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_mmcu"/>
<variable name="Am" public_interface="in" units="per_mm"/>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply id="stimulus_calculation"><eq />
<ci>IStim</ci>
<piecewise>
<piece>
<apply><divide/>
<ci>stimCurrent</ci>
<ci>Am</ci>
</apply>
<apply><lt/>
<apply><rem/>
<ci>time</ci>
<ci>stimPeriod</ci>
</apply>
<ci>stimDuration</ci>
</apply>
</piece>
<otherwise>
<cn cellml:units="uA_per_mmsq">0.0</cn>
</otherwise>
</piecewise>
</apply>
</math>
</component>
</model>