forked from ModelDBRepository/262670
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'sanjayankur31-neuroml-ankur-dev' into development
- Loading branch information
Showing
18 changed files
with
164 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
arm64 | ||
__pycache__ | ||
*.log | ||
*.dat | ||
x86_64/ |
Binary file added
BIN
+50 KB
NEURON/mb/mod/Steady_state(s)_of_activation_variables_in_ka_at_6.3_degC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+35.3 KB
NEURON/mb/mod/Steady_state(s)_of_activation_variables_in_kv_at_6.3_degC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+46.5 KB
NEURON/mb/mod/Steady_state(s)_of_activation_variables_in_naf_at_6.3_degC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+44.8 KB
NEURON/mb/mod/Time_course(s)_of_activation_variables_in_ka_at_6.3_degC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+32.9 KB
NEURON/mb/mod/Time_course(s)_of_activation_variables_in_kv_at_6.3_degC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+45.8 KB
NEURON/mb/mod/Time_course(s)_of_activation_variables_in_naf_at_6.3_degC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?xml version="1.0" encoding="ISO-8859-1"?> | ||
<neuroml xmlns="http://www.neuroml.org/schema/neuroml2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.neuroml.org/schema/neuroml2 https://raw.github.com/NeuroML/NeuroML2/development/Schemas/NeuroML2/NeuroML_v2beta4.xsd" id="NeuroML_ionChannel"> | ||
|
||
<notes>NeuroML file containing variations of steady state and tau expressions for ion channels used in Ray et al 2020. These are required because in the mod files, the tables stop at 40, and so we need to tweak our implementations.</notes> | ||
|
||
<ComponentType name="Ray_inf" | ||
extends="baseVoltageDepVariable" | ||
description="Inf parameter to describe naf" > | ||
|
||
<Constant name="TIME_SCALE" dimension="time" value="1 s"/> | ||
<Constant name="table_max" dimension="voltage" value="40 mV"/> | ||
<Parameter name="rate" dimension="none"/> | ||
<Parameter name="midpoint" dimension="voltage"/> | ||
<Parameter name="scale" dimension="voltage"/> | ||
<Dynamics> | ||
<ConditionalDerivedVariable name="x" dimension="per_time" exposure="x"> | ||
<Case condition="v .gt. table_max" value="(rate / (1 + exp(0 - (table_max - midpoint) / scale)))/TIME_SCALE"/> | ||
<Case value="(rate / (1 + exp(0 - (v - midpoint) / scale)))/TIME_SCALE"/> | ||
</ConditionalDerivedVariable> | ||
</Dynamics> | ||
</ComponentType> | ||
|
||
<ComponentType name="Ray_tau" | ||
extends="baseVoltageDepTime" | ||
description="Tau parameter to describe naf"> | ||
|
||
<Constant name="TIME_SCALE" dimension="time" value="1 ms"/> | ||
<Constant name="table_max" dimension="voltage" value="40 mV"/> | ||
<Parameter name="max_tau" dimension="per_time"/> | ||
<Parameter name="min_tau" dimension="per_time"/> | ||
<Parameter name="midpoint" dimension="voltage"/> | ||
<Parameter name="scale" dimension="voltage"/> | ||
<Dynamics> | ||
<ConditionalDerivedVariable name="t" dimension="per_time" exposure="t" > | ||
<Case condition="v .gt. table_max" value="((max_tau - min_tau) / (1 + exp(0 - (table_max - midpoint) / scale))) + min_tau"/> | ||
<Case value="((max_tau - min_tau) / (1 + exp(0 - (v - midpoint) / scale))) + min_tau"/> | ||
</ConditionalDerivedVariable> | ||
|
||
</Dynamics> | ||
|
||
</ComponentType> | ||
</neuroml> |
Binary file added
BIN
+49.7 KB
...dy_state(s)_of_activation_variables_of_Nas_from_nas.channel.nml_at_6.3_degC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+52.1 KB
...eady_state(s)_of_activation_variables_of_ka_from_ka.channel.nml_at_6.3_degC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+39.3 KB
...eady_state(s)_of_activation_variables_of_kv_from_kv.channel.nml_at_6.3_degC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+45.7 KB
...e_Course(s)_of_activation_variables_of_Nas_from_nas.channel.nml_at_6.3_degC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+50.7 KB
...ime_Course(s)_of_activation_variables_of_ka_from_ka.channel.nml_at_6.3_degC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+42.3 KB
...ime_Course(s)_of_activation_variables_of_kv_from_kv.channel.nml_at_6.3_degC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<?xml version="1.0" encoding="ISO-8859-1"?> | ||
<neuroml xmlns="http://www.neuroml.org/schema/neuroml2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.neuroml.org/schema/neuroml2 https://raw.github.com/NeuroML/NeuroML2/development/Schemas/NeuroML2/NeuroML_v2beta4.xsd" id="NeuroML_ionChannel"> | ||
|
||
<notes>NeuroML file containing a single ion channel</notes> | ||
<include href="RaySigmoid.nml" /> | ||
|
||
<ionChannel id="ka" conductance="1pS" type="ionChannelHH" species="k"> | ||
|
||
<notes> | ||
Implementation of A type K+ channel ( KA ) from Wustenberg DG, Boytcheva M, Grunewald B, Byrne JH, Menzel R, Baxter DA. | ||
This is transient A type K+ channel in Apis mellifera Kenyon cells (cultured). | ||
</notes> | ||
|
||
<!-- custom component types because the tables in the mod files only go to 40 --> | ||
<gate id="m" type="gateHHtauInf" instances="3"> | ||
<steadyState type="Ray_inf" rate="1.0" midpoint="-20.1mV" scale="16.1mV"/> | ||
<timeCourse type="Ray_ka_taum"/> | ||
</gate> | ||
|
||
<gate id="h" type="gateHHtauInf" instances="1"> | ||
<steadyState type="Ray_inf" rate="1.0" midpoint="-74.7mV" scale="-7.0mV"/> | ||
<timeCourse type="Ray_ka_tauh"/> | ||
</gate> | ||
|
||
</ionChannel> | ||
|
||
<ComponentType name="Ray_ka_taum" | ||
extends="baseVoltageDepTime" | ||
description="Tau parameter to describe ka"> | ||
|
||
<Constant name="TIME_SCALE" dimension="time" value="1 ms"/> | ||
<Constant name="VOLT_SCALE" dimension="voltage" value="1 mV"/> | ||
<Constant name="max_tau" dimension="per_time" value="1.65 per_s"/> | ||
<Constant name="min_tau" dimension="per_time" value="0.35 per_s"/> | ||
<Dynamics> | ||
<DerivedVariable name="V" dimension="none" value="v / VOLT_SCALE"/> | ||
<ConditionalDerivedVariable name="t" dimension="per_time" exposure="t" > | ||
<Case condition="V .gt. 40" value="(max_tau - min_tau) / ((1 + exp(-(40. + 70.0) / 4.0)) * ( 1 + exp((40. + 2.0) / 12.0))) + min_tau"/> | ||
<Case value="(max_tau - min_tau) / ((1 + exp(-(V + 70.0) / 4.0)) * ( 1 + exp((V + 2.0) / 12.0))) + min_tau"/> | ||
|
||
</ConditionalDerivedVariable> | ||
</Dynamics> | ||
|
||
</ComponentType> | ||
|
||
<ComponentType name="Ray_ka_tauh" | ||
extends="baseVoltageDepTime" | ||
description="Tau parameter to describe ka"> | ||
|
||
<Constant name="TIME_SCALE" dimension="time" value="1 ms"/> | ||
<Constant name="VOLT_SCALE" dimension="voltage" value="1 mV"/> | ||
<Constant name="max_tau" dimension="per_time" value="90.0 per_s"/> | ||
<Constant name="min_tau" dimension="per_time" value="2.5 per_s"/> | ||
<Dynamics> | ||
<DerivedVariable name="V" dimension="none" value="v / VOLT_SCALE"/> | ||
<ConditionalDerivedVariable name="t" dimension="per_time" exposure="t" > | ||
<Case condition="V .gt. 40" value="(max_tau - min_tau) / ((1 + exp(-(40. + 60.) / 25.0)) * (1 + exp((40. + 62.0) / 16.0))) + min_tau"/> | ||
<Case value="(max_tau - min_tau) / ((1 + exp(-(V + 60.) / 25.0)) * (1 + exp((V + 62.0) / 16.0))) + min_tau"/> | ||
</ConditionalDerivedVariable> | ||
|
||
</Dynamics> | ||
|
||
</ComponentType> | ||
|
||
</neuroml> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="ISO-8859-1"?> | ||
<neuroml xmlns="http://www.neuroml.org/schema/neuroml2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.neuroml.org/schema/neuroml2 https://raw.github.com/NeuroML/NeuroML2/development/Schemas/NeuroML2/NeuroML_v2beta4.xsd" id="NeuroML_ionChannel"> | ||
|
||
<notes>NeuroML file containing a single ion channel</notes> | ||
<include href="RaySigmoid.nml" /> | ||
|
||
<ionChannel id="kv" conductance="1pS" type="ionChannelHH" species="k"> | ||
|
||
<notes> | ||
Implementation of A type K+ channel ( KV ) from Wustenberg DG, Boytcheva M, Grunewald B, Byrne JH, Menzel R, Baxter DA. | ||
This is a delayed rectifier type K+ channel in Apis mellifera Kenyon cells (cultured). | ||
</notes> | ||
|
||
<!-- custom component types because the tables in the mod files only go to 40 --> | ||
<gate id="m" type="gateHHtauInf" instances="4"> | ||
<steadyState type="Ray_inf" rate="1.0" midpoint="-37.6mV" scale="27.24mV"/> | ||
<timeCourse type="Ray_tau" min_tau="1.85 per_s" max_tau="3.53 per_s" midpoint="45.0 mV" scale="-13.71mV"/> | ||
</gate> | ||
|
||
</ionChannel> | ||
</neuroml> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" encoding="ISO-8859-1"?> | ||
<neuroml xmlns="http://www.neuroml.org/schema/neuroml2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.neuroml.org/schema/neuroml2 https://raw.github.com/NeuroML/NeuroML2/development/Schemas/NeuroML2/NeuroML_v2beta4.xsd" id="NeuroML_ionChannel"> | ||
|
||
<notes>NeuroML file containing a single ion channel</notes> | ||
<include href="RaySigmoid.nml" /> | ||
|
||
<ionChannel id="naf" conductance="1pS" type="ionChannelHH" species="na"> | ||
|
||
<notes> | ||
Implementation of fast Na+ channel ( NAF ) from Wustenberg DG, Boytcheva M, Grunewald B, Byrne JH, Menzel R, Baxter DA | ||
|
||
This is fast Na+ channel in Apis mellifera Kenyon cells :(cultured). | ||
</notes> | ||
|
||
<gate id="m" type="gateHHtauInf" instances="3"> | ||
<steadyState type="Ray_inf" rate="1.0" midpoint="-30.1mV" scale="6.65mV"/> | ||
<timeCourse type="Ray_tau" min_tau="0.83 per_s" max_tau="0.093 per_s" midpoint="-20.3 mV" scale="6.45mV"/> | ||
</gate> | ||
|
||
<gate id="h" type="gateHHtauInf" instances="1"> | ||
<steadyState type="Ray_inf" rate="1.0" midpoint="-51.4mV" scale="-5.9mV"/> | ||
<timeCourse type="Ray_tau" min_tau="0.12 per_s" max_tau="1.660 per_s" midpoint="-8.03 mV" scale="-8.69mV"/> | ||
</gate> | ||
|
||
</ionChannel> | ||
</neuroml> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters