The Virtual Brain Project

Table Of Contents

Previous topic

spatial Package

Next topic

analyzers Package

This Page

entities Package


class tvb.interfaces.web.entities.context_model_parameters.SurfaceContextModelParameters(surface_index, default_model, current_equation, current_model_param)[source]

Bases: builtins.object

This class contains methods which allows you to edit the model parameters for each vertex of the given surface.

apply_equation(param_name, equation_instance)[source]

Applies an equation on the given model parameter.

apply_focal_point(model_param, triangle_index)[source]

NOTE: Expects a triangle index

Adds a focal point in which should be applied the equation for the given model parameter.

Returns:a dictionary which contains information about the applied equations on the model parameters.

Compute the equation configured for the current param_name. If no equation was set for param_name, return the default array.

Returns:the applied equation for the given model param OR None if there is no equation applied to this param.
Returns:the list of focal points for the equation applied in the given model param.
remove_focal_point(model_param, triangle_index)[source]

NOTE: Expects a vertex index

Removes a focal point from the list of focal points in which should be applied the equation for the given model parameter.


Reset the equations for all the model parameters.


Resets the equation for the specified model parameter.


class tvb.interfaces.web.entities.context_overlay.OverlayTabDefinition(name, css_class=None, enabled=True, description=None)[source]

Bases: builtins.object

This class contains details necessary to render tabs in overlays


Used by FlowController. It will store in current user’s session information about

class tvb.interfaces.web.entities.context_selected_adapter.SelectedAdapterContext[source]

Bases: builtins.object

Responsible for storing/retrieving/removing from session info about currently selected algorithm.

KEY_VIEW_MODEL = 'viewModel'

Put in session information about the view_model


Remove info about selected algo from session


Get view_model from session