This model is an example of used the cosimulation with a nonstate variable. It’s used by the other test for testing the co-simulation
Bases: tvb.simulator.models.wong_wang.ReducedWongWang
modify class in order to take in count proxy firing rate and to monitor the firing rate
gid : tvb.basic.neotraits._core.HasTraits.gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
An attribute that can only be set once. If a default is provided it counts as a set, so it cannot be written to. Note that if the default is a mutable type, the value is shared with all instances of the owning class. We cannot enforce true constancy in python
The attribute is a list of values. Choices and type are reinterpreted as applying not to the list but to the elements of it
Bases: tvb.tests.library.base_testcase.BaseTestCase
test the transmission of information between two models with proxy in most complex case and different delay
Bases: builtins.object
To initialise Nest and to create the connectome model
:param parameters : (model,connectivity,coupling,integrator) : parameter for the simulation without monitor :param time_synchronize : the time of synchronization for the proxy :param initial_condition: the initial condition of the model :return:
sim : the TVB simulator, (weights_in,delay_in): the connectivity of disconnect region input (weights_out,delay_out): the connectivity of disconnect region ouput
Initialise TVB with Wong-Wang models and default connectivity
WARNING : in this first example most of the parameter for the simulation is define. In the future, this function will be disappear and replace only by the tvb_init. This function is only here in order to constraint the usage
of proxy
Parameters: |
|
---|---|
Returns: | populations: model in TVB white_matter: Connectivity in TVB white_matter_coupling: Coupling in TVB heunint: Integrator in TVB what_to_watch: Monitor in TVB |