Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STDP synapse and IAF neuron generation for the compartmental feature [WIP] #1103

Open
wants to merge 411 commits into
base: master
Choose a base branch
from

Conversation

LeanderEwert
Copy link
Contributor

@LeanderEwert LeanderEwert commented Sep 24, 2024

Making the creation of NESTML synapses compatible with the compartmental feature requires adjustments, as the compartmental neuron generation pipeline constructs neurons in a fundamentally different way. Since NESTML synapses are paired with their post-synaptic neuron during generation, the STDP feature must be specifically implemented for the compartmental pipeline.

The lack of cross-compartment or global variable access has made it impossible, or at least very difficult and unintuitive, to write IAF neurons.

The solutions to both problems have significant overlap, which is why both will be addressed in this pull request.

WillemWybo and others added 30 commits May 4, 2022 11:11
…plates_fix

Maint/updated jinja templates fix
LeanderEwert and others added 21 commits August 7, 2024 14:22
…wert_cm_stdp

# Conflicts:
#	pynestml/codegeneration/nest_compartmental_code_generator.py
#	pynestml/codegeneration/printers/cpp_function_call_printer.py
#	tests/nest_compartmental_tests/resources/continuous_test.nestml
#	tests/nest_tests/stdp_triplet_synapse_test.py
…ation

# Conflicts:
#	pynestml/codegeneration/nest_compartmental_code_generator.py
ToDO:
- convolve calls for synapses
- printing for all control-structures in update and function blocks
- syntax for self_spike
- rigorous testing
- merge of redundant ast_collectors
- template file divide for mechanisms
@WillemWybo
Copy link
Contributor

I believe the executing package should be added to the dependencies.

…wert_cm_stdp

# Conflicts:
#	pynestml/codegeneration/nest_compartmental_code_generator.py
#	pynestml/codegeneration/resources_nest/point_neuron/common/SynapseHeader.h.jinja2
#	pynestml/codegeneration/resources_nest_compartmental/cm_neuron/cm_neuroncurrents_@[email protected]
#	pynestml/transformers/synapse_post_neuron_transformer.py
#	pynestml/utils/ast_vector_parameter_setter_and_printer.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants