Location: cellLib @ bd3a5a392008 / Protocols / periodic-IStim-protocol.cellml

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2021-07-20 13:24:39+12:00
Desc:
Remove the normalization in the CB4HM model
Permanent Source URI:
https://models.physiomeproject.org/workspace/6bc/rawfile/bd3a5a3920081a8512ff884bbae9a62b393354ec/Protocols/periodic-IStim-protocol.cellml

<?xml version='1.0' encoding='UTF-8'?>
<model name="periodic_IStim" xmlns="http://www.cellml.org/cellml/1.1#" xmlns:cellml="http://www.cellml.org/cellml/1.1#">
    <component name="stimulus_protocol">
        <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"/>
        <variable name="IStim" public_interface="out" 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>