-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from sparsh-989/spatialneuron
Change for adaption of equations of spatial neuron except morphology
- Loading branch information
Showing
5 changed files
with
149 additions
and
1 deletion.
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
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
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
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,43 @@ | ||
## Network details | ||
**Neuron population:** | ||
Group {{ (group['name']) }}, consisting of {{ (group['N']) }} neurons. | ||
{{ tab }}{{ ('Model dynamics:') }} | ||
{{ expander.expand_equations(group['equations']) }} | ||
# **Morphology:** | ||
|
||
{% if 'area' in group['morphology'] %} | ||
Area: {{ group['morphology']['area'] }} | ||
{% endif %} | ||
|
||
{% if 'total_sections' in group['morphology'] %} | ||
Total Sections: {{ group['morphology']['total_sections'] }} | ||
{% endif %} | ||
|
||
{% if 'total_compartments' in group['morphology'] %} | ||
Total Compartments: {{ group['morphology']['total_compartments'] }} | ||
{% endif %} | ||
{% if group['user_method'] %} | ||
{{ tab }}The equations are integrated with the '{{ group['user_method'] }}' method. | ||
{% endif %} | ||
{% if 'events' in group %} | ||
{{ tab }}{{ ('Events:') }} | ||
{{ expander.expand_events(group['events']) }} | ||
{% endif %} | ||
{% if 'identifiers' in group %} | ||
{{ tab }}{{ ('Constants:') }} {{ expander.expand_identifiers(group['identifiers']) }} | ||
{% endif %} | ||
{% if not expander.keep_initializer_order and 'initializer' in group and group['initializer']|length %} | ||
{{ tab }}{{ ('Initial values:') }} | ||
{% for initializer in group['initializer'] %} | ||
{{ tab }}* {{ expander.expand_initializer(initializer) }} | ||
{% endfor %} | ||
{% endif %} | ||
{% if 'run_regularly' in group %} | ||
{{ tab }}{{ ('Run regularly') }}{{ expander.check_plural(group['run_regularly']) }}: | ||
{% for run_reg in group['run_regularly'] %} | ||
{{ expander.expand_runregularly(run_reg) }} | ||
{% endfor %} | ||
{% endif %} | ||
|
||
|
||
|
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,8 @@ | ||
|-------------------------------|------------------------------------------------| | ||
| **Neuron population** | Group {{ (group['name']) }}, consisting of {{ (group['N']) }} neurons. | | ||
| **Model dynamics** | {{ expander.expand_equations(group['equations']) }} | | ||
| **Integration method** | {% if group['user_method'] %} The equations are integrated with the '{{ group['user_method'] }}' method. {% endif %} | | ||
| **Events** (if present) | {% if 'events' in group %} {{ expander.expand_events(group['events']) }} {% endif %} | | ||
| **Constants** (if present) | {% if 'identifiers' in group %} {{ expander.expand_identifiers(group['identifiers']) }} {% endif %} | | ||
| **Initial values** (if present)| {% if not expander.keep_initializer_order and 'initializer' in group and group['initializer']|length %} {% for initializer in group['initializer'] %} {{ initializer.variable }}: {{ initializer.value }}{% if initializer.unit %} [{{ initializer.unit }}]{% endif %} {% if not loop.last %}\n{% endif %}{% endfor %} {% endif %} | | ||
| **Run regularly** (if present)| {% if 'run_regularly' in group %} {% for run_reg in group['run_regularly'] %} {{ expander.expand_runregularly(run_reg) }} {% if not loop.last %}\n{% endif %}{% endfor %} {% endif %} | |