sg-s / xolotl

A MATLAB neuron simulator. Very fast (written in C++). Flexible (fully object oriented). Immediate (live manipulation in MATLAB). Comes with a powerful parameter optimizer. Get started ➡️
https://go.brandeis.edu/xolotl
GNU General Public License v3.0
43 stars 8 forks source link

Implementing dynamic clamp / real-time simulation #579

Closed JRS92 closed 2 years ago

JRS92 commented 2 years ago

Are there any plans for xolotl to work with dynamic clamp?

By that I mean an easy way to pass xolotl models to a Simulink model that interfaces with an acquisition board, probably via Simulink Real-Time Desktop / Simulink Coder for real-time simulation. I am picturing using the Optimization Toolbox similar to "Fit a Model with Arbitrary Constraints" to search parameter space, but comparing the recorded Vm trace (with injected conductance) to some target trace.

sg-s commented 2 years ago

sorry, this is entirely beyond the scope of this project. this sounds like a full phd project in itself! let me know if you end up implementing it.

JRS92 commented 2 years ago

No worries, just thought I'd check if dynamic clamp was at all on your radar.

We use different software (QuB) for dynamic clamp, but xolotl is overall easier to work with for conductance models. Would be nice to be able to work in MATLAB instead. I will give it a shot if I can find the time.