wsphillips / Conductor.jl

Choo-choo
MIT License
60 stars 12 forks source link

[WIP] Callback-based synapses #54

Closed wsphillips closed 1 year ago

wsphillips commented 1 year ago

This is a major overhaul of the package to support event-based synapses in addition to continuously integrated synapses. Up until now, there was some ad hoc "tricks" used to support "events", but this was not composable or robust.

When this PR finally lands, we should be able to:

wsphillips commented 1 year ago

test

test of callback based event-driven synapse (with just single exponential decay kinetics)

wsphillips commented 1 year ago

An updated version of demo/simplesynapse.jl shows how we can now flexibly change between continuous (root finding) events, discrete (end of time step) events, and continuously integrated synaptic current models. I will propagate the changes to the other demos and polish some minor lingering issues. It should be really interesting to see how the 100 neuron Pinsky & Rinzel network behaves upon switching over!