Heterogeneous modeling with MultiModel
: Rise and shine 🌈
#180
caglorithm
started this conversation in
How to
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In this new release, we introduce the
MultiModel
🌈 framework and theStimulus
⚡️ class.MultiModel
🌈MultiModel
is a framework for constructing neural mass models and combining them with others into oneneurolib
model (example notebooks here, here, and here)Here is a short summary of how
MultiModel
works:Building
MultiModel
brings us closer to simulating truly heterogeneous neural mass models. What it allows us to do right now is, for example, to simulate a thalamocortical network, with the thalamus being represented by aThalamicMassModel
and the cortex by theALNModel
.A block of pseudocode says more than a picture:
As you can see, here we have created a new model called
ThalamoCorticalNetwork
that consists of anALNNode
and aThalamicNode
. We have coupled them according toconnectivity
. In the real world, we would also have to define the_sync
method, that tells neurolib which variables to couple to which, across models. We refer to the example notebooks for more details on how to implement a full model.Our vision for this framework is adding more specialized models for different brain areas with the ultimate goal of heterogeneous whole-brain modeling, such as combining a cortical model with models of thalamic or hippocampal neural populations. This will enable us to model different brain rhythms generated in specialized neural circuits and study their whole-brain interactions.
Stimulus
⚡️Stimulus
⚡️ class allows you to easily construct external stimuli that you can apply to neural mass models (example notebook here)Stimuli are created by calling the appropriate classes that we've implemented:
You can now use the operators
+
and&
to sum up stimuli and concatenate them. By combining different stimuli, this allows you to build a wide range of different stimuli. Here is an example of concatenation:Coupling a stimulus to a model couldn't be easier:
Special thanks for this release goes to @jajcayn who has been working hard to make this happen. We also want to thank all users who open Issues to report bugs, ask us questions, and let us learn more how
neurolib
is used in practice. Please feel free to contact us with your ideas and thoughts, we appreciate it a lot to know that there are researchers usingneurolib
out there.This discussion was created from the release Heterogeneous modeling with `MultiModel`: Rise and shine 🌈.
Beta Was this translation helpful? Give feedback.
All reactions