Skip to content

Commit 0e5a83e

Browse files
committed
Monor edit for vshift support in channelPopulation
1 parent cf60a55 commit 0e5a83e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

NeuroML2CoreTypes/Cells.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@
6060

6161
<Parameter name="number" dimension="none"/>
6262
<Parameter name="erev" dimension="voltage"/>
63+
64+
<Constant name="vShift" dimension="voltage" value="0mV" description="Set to a constant 0mV here to allow ion channels which use _vShift in their rate variable expressions to be used with _channelPopulation_, not just with _channelDensityVShift_ (where _vShift would be explicitly set)"/>
65+
6366

6467
<Text name="ion"/> <!-- TODO: Ideally this needs to be a property of ionChannel only! But it's here as it makes it easier to select channelPopulations transmitting specific ions...-->
6568

@@ -85,6 +88,9 @@
8588
<Constant name="R" dimension="idealGasConstantDims" value="8.3144621 J_per_K_per_mol" description="TODO: Make this a global constant!"/>
8689
<Constant name="zCa" dimension="none" value="2" description="TODO: Make this a global constant!"/>
8790
<Constant name="F" dimension="charge_per_mole" value="96485.3 C_per_mol" description="TODO: Make this a global constant!"/>
91+
92+
<Constant name="vShift" dimension="voltage" value="0mV" description="Set to a constant 0mV here to allow ion channels which use _vShift in their rate variable expressions to be used with _channelPopulation_, not just with _channelDensityVShift_ (where _vShift would be explicitly set)"/>
93+
8894

8995
<Exposure name="erev" dimension="voltage"/> <!-- Calculated from caConcExt and caConc-->
9096

0 commit comments

Comments
 (0)