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

WIP: MultiCompartmentSystem #26

Merged
merged 14 commits into from
May 31, 2022
Merged

WIP: MultiCompartmentSystem #26

merged 14 commits into from
May 31, 2022

Conversation

wsphillips
Copy link
Owner

@wsphillips wsphillips commented May 20, 2022

Fixes #3

This will allow arbitrarily large assemblies of compartments. The final benchmark will (ideally) be reproduction of models as small as Pinsky and Rinzel 1994 up to the classic Traub 1991 pyramidal neuron model with 19 compartments.

The pattern of MultiCompartmentSystem will be similar to NeuronalNetworkSystem where edges are described by Junction (similar to Synapse in networks).

@wsphillips
Copy link
Owner Author

wsphillips commented May 31, 2022

The demo for MultiCompartmentSystem is found at demo/pinskyrinzel.jl. Its not an absolutely perfect reproduction, but I can achieve "reasonably close" dynamics as panels A, C, and D of Figure 2 in Pinsky 1994.

Two compartment neuron with somatic current injection (compare to Figure 2A):
update_pinsky

For the rest of the model, I will need to implement event/time-based synapses (versus continuously integrated synapses used in the STG models)

@wsphillips
Copy link
Owner Author

Good enough--full model needs event-based synapses, which can live in a separate PR.

@wsphillips wsphillips marked this pull request as ready for review May 31, 2022 18:58
@wsphillips wsphillips merged commit 51a4ad5 into main May 31, 2022
@wsphillips wsphillips deleted the wsp/multicompartment branch May 31, 2022 19:53
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.

Allow neurons composed of multiple compartments
1 participant