- Author:
- Megan Guidry <mgui210@aucklanduni.ac.nz>
- Date:
- 2015-05-12 15:18:12+12:00
- Desc:
- "t" interfaces changed to public in
- Permanent Source URI:
- https://models.cellml.org/workspace/241/rawfile/35bcf7e2ee17b1f556c1dffeba81a51c4e16c9b8/single-pulse-IStim.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<model
name="single_pluse_IStim"
cmeta:id="single_pluse_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="#single_pluse_IStim">
<dc:title>
Protocol defining a single pulse stimulus current.
</dc:title>
<cmeta:comment rdf:parseType="Resource">
<rdf:value>
This CellML file describes the protocol for the application of
a single pulse 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="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 single pulse 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="stimTime" 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><and/>
<apply><geq/>
<ci>time</ci>
<ci>stimTime</ci>
</apply>
<apply><leq/>
<ci>time</ci>
<apply><plus/>
<ci>stimTime</ci>
<ci>stimDuration</ci>
</apply>
</apply>
</apply>
</piece>
<otherwise>
<cn cellml:units="uA_per_mmsq">0.0</cn>
</otherwise>
</piecewise>
</apply>
</math>
</component>
</model>