simulator
Package¶
burst_configuration_h5
¶
datatype_measure_h5
¶
- class tvb.core.entities.file.simulator.datatype_measure_h5.DatatypeMeasure(**kwargs)[source]¶
Bases:
HasTraits
Traited class [tvb.core.entities.file.simulator.datatype_measure_h5.DatatypeMeasure]¶
Attributes declared¶
metrics : tvb.core.entities.file.simulator.datatype_measure_h5.DatatypeMeasure.metrics = Attr(field_type=<class ‘dict’>, default=None, required=True)
- analyzed_datatypetvb.core.entities.file.simulator.datatype_measure_h5.DatatypeMeasure.analyzed_datatype = Attr(field_type=<class ‘tvb.datatypes.time_series.TimeSeries’>, default=None, required=True)
Links to the time-series on which the metrics are computed.
gid : tvb.basic.neotraits._core.HasTraits.gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
- analyzed_datatype¶
An Attr declares the following about the attribute it describes: * the type * a default value shared by all instances * if the value might be missing * documentation It will resolve to attributes on the instance.
- metrics¶
An Attr declares the following about the attribute it describes: * the type * a default value shared by all instances * if the value might be missing * documentation It will resolve to attributes on the instance.
simulation_history_h5
¶
- class tvb.core.entities.file.simulator.simulation_history_h5.SimulationHistory(**kwargs)[source]¶
Bases:
HasTraits
Traited class [tvb.core.entities.file.simulator.simulation_history_h5.SimulationHistory]¶
Simulation State, prepared for H5 file storage.
Attributes declared¶
history : tvb.core.entities.file.simulator.simulation_history_h5.SimulationHistory.history = NArray(label=’’, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
current_state : tvb.core.entities.file.simulator.simulation_history_h5.SimulationHistory.current_state = NArray(label=’’, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
current_step : tvb.core.entities.file.simulator.simulation_history_h5.SimulationHistory.current_step = Int(field_type=<class ‘int’>, default=0, required=True)
monitor_stock_1 : tvb.core.entities.file.simulator.simulation_history_h5.SimulationHistory.monitor_stock_1 = NArray(label=’’, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
monitor_stock_2 : tvb.core.entities.file.simulator.simulation_history_h5.SimulationHistory.monitor_stock_2 = NArray(label=’’, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
monitor_stock_3 : tvb.core.entities.file.simulator.simulation_history_h5.SimulationHistory.monitor_stock_3 = NArray(label=’’, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
monitor_stock_4 : tvb.core.entities.file.simulator.simulation_history_h5.SimulationHistory.monitor_stock_4 = NArray(label=’’, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
monitor_stock_5 : tvb.core.entities.file.simulator.simulation_history_h5.SimulationHistory.monitor_stock_5 = NArray(label=’’, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
monitor_stock_6 : tvb.core.entities.file.simulator.simulation_history_h5.SimulationHistory.monitor_stock_6 = NArray(label=’’, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
monitor_stock_7 : tvb.core.entities.file.simulator.simulation_history_h5.SimulationHistory.monitor_stock_7 = NArray(label=’’, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
monitor_stock_8 : tvb.core.entities.file.simulator.simulation_history_h5.SimulationHistory.monitor_stock_8 = NArray(label=’’, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
monitor_stock_9 : tvb.core.entities.file.simulator.simulation_history_h5.SimulationHistory.monitor_stock_9 = NArray(label=’’, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
monitor_stock_10 : tvb.core.entities.file.simulator.simulation_history_h5.SimulationHistory.monitor_stock_10 = NArray(label=’’, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
monitor_stock_11 : tvb.core.entities.file.simulator.simulation_history_h5.SimulationHistory.monitor_stock_11 = NArray(label=’’, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
monitor_stock_12 : tvb.core.entities.file.simulator.simulation_history_h5.SimulationHistory.monitor_stock_12 = NArray(label=’’, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
monitor_stock_13 : tvb.core.entities.file.simulator.simulation_history_h5.SimulationHistory.monitor_stock_13 = NArray(label=’’, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
monitor_stock_14 : tvb.core.entities.file.simulator.simulation_history_h5.SimulationHistory.monitor_stock_14 = NArray(label=’’, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
monitor_stock_15 : tvb.core.entities.file.simulator.simulation_history_h5.SimulationHistory.monitor_stock_15 = NArray(label=’’, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
monitor_names : tvb.core.entities.file.simulator.simulation_history_h5.SimulationHistory.monitor_names = List(of=<class ‘str’>, default=(), required=True)
integrator_noise_rng_state_algo : tvb.core.entities.file.simulator.simulation_history_h5.SimulationHistory.integrator_noise_rng_state_algo = Attr(field_type=<class ‘str’>, default=None, required=False)
integrator_noise_rng_state_keys : tvb.core.entities.file.simulator.simulation_history_h5.SimulationHistory.integrator_noise_rng_state_keys = NArray(label=’’, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
integrator_noise_rng_state_pos : tvb.core.entities.file.simulator.simulation_history_h5.SimulationHistory.integrator_noise_rng_state_pos = Int(field_type=<class ‘int’>, default=0, required=False)
integrator_noise_rng_state_has_gauss : tvb.core.entities.file.simulator.simulation_history_h5.SimulationHistory.integrator_noise_rng_state_has_gauss = Int(field_type=<class ‘int’>, default=0, required=False)
integrator_noise_rng_state_cached_gauss : tvb.core.entities.file.simulator.simulation_history_h5.SimulationHistory.integrator_noise_rng_state_cached_gauss = Float(field_type=<class ‘float’>, default=0, required=False)
gid : tvb.basic.neotraits._core.HasTraits.gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
- current_state¶
Declares a numpy array. dtype enforces the dtype. The default dtype is float64. An optional symbolic shape can be given, as a tuple of Dim attributes from the owning class. The shape will be enforced, but no broadcasting will be done. domain declares what values are allowed in this array. It can be any object that can be checked for membership Defaults are checked if they are in the declared domain. For performance reasons this does not happen on every attribute set.
- current_step¶
Declares an integer This is different from Attr(field_type=int). The former enforces int subtypes This allows all integer types, including numpy ones that can be safely cast to the declared type according to numpy rules
- history¶
Declares a numpy array. dtype enforces the dtype. The default dtype is float64. An optional symbolic shape can be given, as a tuple of Dim attributes from the owning class. The shape will be enforced, but no broadcasting will be done. domain declares what values are allowed in this array. It can be any object that can be checked for membership Defaults are checked if they are in the declared domain. For performance reasons this does not happen on every attribute set.
- integrator_noise_rng_state_algo¶
An Attr declares the following about the attribute it describes: * the type * a default value shared by all instances * if the value might be missing * documentation It will resolve to attributes on the instance.
- integrator_noise_rng_state_cached_gauss¶
Declares a float. This is different from Attr(field_type=float). The former enforces float subtypes. This allows any type that can be safely cast to the declared float type according to numpy rules.
Reading and writing this attribute is slower than a plain python attribute. In performance sensitive code you might want to use plain python attributes or even better local variables.
- integrator_noise_rng_state_has_gauss¶
Declares an integer This is different from Attr(field_type=int). The former enforces int subtypes This allows all integer types, including numpy ones that can be safely cast to the declared type according to numpy rules
- integrator_noise_rng_state_keys¶
Declares a numpy array. dtype enforces the dtype. The default dtype is float64. An optional symbolic shape can be given, as a tuple of Dim attributes from the owning class. The shape will be enforced, but no broadcasting will be done. domain declares what values are allowed in this array. It can be any object that can be checked for membership Defaults are checked if they are in the declared domain. For performance reasons this does not happen on every attribute set.
- integrator_noise_rng_state_pos¶
Declares an integer This is different from Attr(field_type=int). The former enforces int subtypes This allows all integer types, including numpy ones that can be safely cast to the declared type according to numpy rules
- monitor_names¶
The attribute is a list of values. Choices and type are reinterpreted as applying not to the list but to the elements of it
- monitor_stock_1¶
Declares a numpy array. dtype enforces the dtype. The default dtype is float64. An optional symbolic shape can be given, as a tuple of Dim attributes from the owning class. The shape will be enforced, but no broadcasting will be done. domain declares what values are allowed in this array. It can be any object that can be checked for membership Defaults are checked if they are in the declared domain. For performance reasons this does not happen on every attribute set.
- monitor_stock_10¶
Declares a numpy array. dtype enforces the dtype. The default dtype is float64. An optional symbolic shape can be given, as a tuple of Dim attributes from the owning class. The shape will be enforced, but no broadcasting will be done. domain declares what values are allowed in this array. It can be any object that can be checked for membership Defaults are checked if they are in the declared domain. For performance reasons this does not happen on every attribute set.
- monitor_stock_11¶
Declares a numpy array. dtype enforces the dtype. The default dtype is float64. An optional symbolic shape can be given, as a tuple of Dim attributes from the owning class. The shape will be enforced, but no broadcasting will be done. domain declares what values are allowed in this array. It can be any object that can be checked for membership Defaults are checked if they are in the declared domain. For performance reasons this does not happen on every attribute set.
- monitor_stock_12¶
Declares a numpy array. dtype enforces the dtype. The default dtype is float64. An optional symbolic shape can be given, as a tuple of Dim attributes from the owning class. The shape will be enforced, but no broadcasting will be done. domain declares what values are allowed in this array. It can be any object that can be checked for membership Defaults are checked if they are in the declared domain. For performance reasons this does not happen on every attribute set.
- monitor_stock_13¶
Declares a numpy array. dtype enforces the dtype. The default dtype is float64. An optional symbolic shape can be given, as a tuple of Dim attributes from the owning class. The shape will be enforced, but no broadcasting will be done. domain declares what values are allowed in this array. It can be any object that can be checked for membership Defaults are checked if they are in the declared domain. For performance reasons this does not happen on every attribute set.
- monitor_stock_14¶
Declares a numpy array. dtype enforces the dtype. The default dtype is float64. An optional symbolic shape can be given, as a tuple of Dim attributes from the owning class. The shape will be enforced, but no broadcasting will be done. domain declares what values are allowed in this array. It can be any object that can be checked for membership Defaults are checked if they are in the declared domain. For performance reasons this does not happen on every attribute set.
- monitor_stock_15¶
Declares a numpy array. dtype enforces the dtype. The default dtype is float64. An optional symbolic shape can be given, as a tuple of Dim attributes from the owning class. The shape will be enforced, but no broadcasting will be done. domain declares what values are allowed in this array. It can be any object that can be checked for membership Defaults are checked if they are in the declared domain. For performance reasons this does not happen on every attribute set.
- monitor_stock_2¶
Declares a numpy array. dtype enforces the dtype. The default dtype is float64. An optional symbolic shape can be given, as a tuple of Dim attributes from the owning class. The shape will be enforced, but no broadcasting will be done. domain declares what values are allowed in this array. It can be any object that can be checked for membership Defaults are checked if they are in the declared domain. For performance reasons this does not happen on every attribute set.
- monitor_stock_3¶
Declares a numpy array. dtype enforces the dtype. The default dtype is float64. An optional symbolic shape can be given, as a tuple of Dim attributes from the owning class. The shape will be enforced, but no broadcasting will be done. domain declares what values are allowed in this array. It can be any object that can be checked for membership Defaults are checked if they are in the declared domain. For performance reasons this does not happen on every attribute set.
- monitor_stock_4¶
Declares a numpy array. dtype enforces the dtype. The default dtype is float64. An optional symbolic shape can be given, as a tuple of Dim attributes from the owning class. The shape will be enforced, but no broadcasting will be done. domain declares what values are allowed in this array. It can be any object that can be checked for membership Defaults are checked if they are in the declared domain. For performance reasons this does not happen on every attribute set.
- monitor_stock_5¶
Declares a numpy array. dtype enforces the dtype. The default dtype is float64. An optional symbolic shape can be given, as a tuple of Dim attributes from the owning class. The shape will be enforced, but no broadcasting will be done. domain declares what values are allowed in this array. It can be any object that can be checked for membership Defaults are checked if they are in the declared domain. For performance reasons this does not happen on every attribute set.
- monitor_stock_6¶
Declares a numpy array. dtype enforces the dtype. The default dtype is float64. An optional symbolic shape can be given, as a tuple of Dim attributes from the owning class. The shape will be enforced, but no broadcasting will be done. domain declares what values are allowed in this array. It can be any object that can be checked for membership Defaults are checked if they are in the declared domain. For performance reasons this does not happen on every attribute set.
- monitor_stock_7¶
Declares a numpy array. dtype enforces the dtype. The default dtype is float64. An optional symbolic shape can be given, as a tuple of Dim attributes from the owning class. The shape will be enforced, but no broadcasting will be done. domain declares what values are allowed in this array. It can be any object that can be checked for membership Defaults are checked if they are in the declared domain. For performance reasons this does not happen on every attribute set.
- monitor_stock_8¶
Declares a numpy array. dtype enforces the dtype. The default dtype is float64. An optional symbolic shape can be given, as a tuple of Dim attributes from the owning class. The shape will be enforced, but no broadcasting will be done. domain declares what values are allowed in this array. It can be any object that can be checked for membership Defaults are checked if they are in the declared domain. For performance reasons this does not happen on every attribute set.
- monitor_stock_9¶
Declares a numpy array. dtype enforces the dtype. The default dtype is float64. An optional symbolic shape can be given, as a tuple of Dim attributes from the owning class. The shape will be enforced, but no broadcasting will be done. domain declares what values are allowed in this array. It can be any object that can be checked for membership Defaults are checked if they are in the declared domain. For performance reasons this does not happen on every attribute set.
view_model
¶
- class tvb.core.entities.file.simulator.view_model.AdditiveNoiseViewModel(**kwargs)[source]¶
Bases:
NoiseViewModel
,Additive
Traited class [tvb.core.entities.file.simulator.view_model.AdditiveNoiseViewModel]¶
Attributes declared¶
operation_group_gid : tvb.core.neotraits.view_model.ViewModel.operation_group_gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=False)
ranges : tvb.core.neotraits.view_model.ViewModel.ranges = Attr(field_type=<class ‘str’>, default=None, required=False)
range_values : tvb.core.neotraits.view_model.ViewModel.range_values = Attr(field_type=<class ‘str’>, default=None, required=False)
is_metric_operation : tvb.core.neotraits.view_model.ViewModel.is_metric_operation = Attr(field_type=<class ‘bool’>, default=False, required=True)
- nsigtvb.simulator.noise.Additive.nsig = NArray(label=’\(D\)’, dtype=float64, default=array([1.]), dim_names=(), ndim=None, required=True)
The noise dispersion, it is the standard deviation of the distribution from which the Gaussian random variates are drawn. NOTE: Sensible values are typically ~<< 1% of the dynamic range of a Model’s state variables.
- ntautvb.simulator.noise.Noise.ntau = Float(field_type=<class ‘float’>, default=0.0, required=True)
The noise correlation time
- noise_seedtvb.simulator.noise.Noise.noise_seed = Int(field_type=<class ‘int’>, default=42, required=True)
A random seed used to initialise the random_stream if it is missing.
- random_streamtvb.simulator.noise.Noise.random_stream = Attr(field_type=<class ‘numpy.random.mtrand.RandomState’>, default=None, required=False)
An instance of numpy’s RandomState associated with thisspecific Noise object. Used when you need to resume a simulation from a state saved to disk
gid : tvb.basic.neotraits._core.HasTraits.gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
- property linked_has_traits¶
- class tvb.core.entities.file.simulator.view_model.BoldRegionROIViewModel[source]¶
Bases:
BoldViewModel
,BoldRegionROI
Traited class [tvb.core.entities.file.simulator.view_model.BoldRegionROIViewModel]¶
Attributes declared¶
operation_group_gid : tvb.core.neotraits.view_model.ViewModel.operation_group_gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=False)
ranges : tvb.core.neotraits.view_model.ViewModel.ranges = Attr(field_type=<class ‘str’>, default=None, required=False)
range_values : tvb.core.neotraits.view_model.ViewModel.range_values = Attr(field_type=<class ‘str’>, default=None, required=False)
is_metric_operation : tvb.core.neotraits.view_model.ViewModel.is_metric_operation = Attr(field_type=<class ‘bool’>, default=False, required=True)
- periodtvb.simulator.monitors.Bold.period = Float(field_type=<class ‘float’>, default=2000.0, required=True)
For the BOLD monitor, sampling period in milliseconds must be an integral multiple of 500. Typical measurment interval (repetition time TR) is between 1-3 s. If TR is 2s, then Bold period is 2000ms.
- hrf_kerneltvb.simulator.monitors.Bold.hrf_kernel = Attr(field_type=<class ‘tvb.datatypes.equations.HRFKernelEquation’>, default=<tvb.datatypes.equations.FirstOrderVolterra object at 0x7f5d6b282980>, required=True)
A tvb.datatypes.equation object which describe the haemodynamic response function used to compute the BOLD signal.
- hrf_lengthtvb.simulator.monitors.Bold.hrf_length = Float(field_type=<class ‘float’>, default=20000.0, required=True)
Duration of the hrf kernel
- variables_of_interesttvb.simulator.monitors.Monitor.variables_of_interest = NArray(label=’Model variables to watch’, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
Indices of model’s variables of interest (VOI) that this monitor should record. Note that the indices should start at zero, so that if a model offers VOIs V, W and V+W, and W is selected, and this monitor should record W, then the correct index is 0.
gid : tvb.basic.neotraits._core.HasTraits.gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
- property linked_has_traits¶
- class tvb.core.entities.file.simulator.view_model.BoldViewModel[source]¶
Bases:
MonitorViewModel
,Bold
Traited class [tvb.core.entities.file.simulator.view_model.BoldViewModel]¶
Attributes declared¶
operation_group_gid : tvb.core.neotraits.view_model.ViewModel.operation_group_gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=False)
ranges : tvb.core.neotraits.view_model.ViewModel.ranges = Attr(field_type=<class ‘str’>, default=None, required=False)
range_values : tvb.core.neotraits.view_model.ViewModel.range_values = Attr(field_type=<class ‘str’>, default=None, required=False)
is_metric_operation : tvb.core.neotraits.view_model.ViewModel.is_metric_operation = Attr(field_type=<class ‘bool’>, default=False, required=True)
- periodtvb.simulator.monitors.Bold.period = Float(field_type=<class ‘float’>, default=2000.0, required=True)
For the BOLD monitor, sampling period in milliseconds must be an integral multiple of 500. Typical measurment interval (repetition time TR) is between 1-3 s. If TR is 2s, then Bold period is 2000ms.
- hrf_kerneltvb.simulator.monitors.Bold.hrf_kernel = Attr(field_type=<class ‘tvb.datatypes.equations.HRFKernelEquation’>, default=<tvb.datatypes.equations.FirstOrderVolterra object at 0x7f5d6b282980>, required=True)
A tvb.datatypes.equation object which describe the haemodynamic response function used to compute the BOLD signal.
- hrf_lengthtvb.simulator.monitors.Bold.hrf_length = Float(field_type=<class ‘float’>, default=20000.0, required=True)
Duration of the hrf kernel
- variables_of_interesttvb.simulator.monitors.Monitor.variables_of_interest = NArray(label=’Model variables to watch’, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
Indices of model’s variables of interest (VOI) that this monitor should record. Note that the indices should start at zero, so that if a model offers VOIs V, W and V+W, and W is selected, and this monitor should record W, then the correct index is 0.
gid : tvb.basic.neotraits._core.HasTraits.gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
- property linked_has_traits¶
- class tvb.core.entities.file.simulator.view_model.CortexViewModel(**kwargs)[source]¶
-
Traited class [tvb.core.entities.file.simulator.view_model.CortexViewModel]¶
Attributes declared¶
- surface_gidtvb.core.entities.file.simulator.view_model.CortexViewModel.surface_gid = DataTypeGidAttr(field_type=<class ‘uuid.UUID’>, default=None, required=False)
By default, a Cortex object which represents the cortical surface defined by points in the 3D physical space and their neighborhood relationship. In the current TVB version, when setting up a surface-based simulation, the option to configure the spatial spread of the
Local Connectivity
is available.- local_connectivitytvb.core.entities.file.simulator.view_model.CortexViewModel.local_connectivity = DataTypeGidAttr(field_type=<class ‘uuid.UUID’>, default=None, required=False)
Define the interaction between neighboring network nodes. This is implicitly integrated in the definition of a given surface as an excitatory mean coupling of directly adjacent neighbors to the first state variable of each population model (since these typically represent the mean-neural membrane voltage). This coupling is instantaneous (no time delays).
- region_mapping_datatvb.core.entities.file.simulator.view_model.CortexViewModel.region_mapping_data = DataTypeGidAttr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
An index vector of length equal to the number_of_vertices + the number of non-cortical regions, with values that index into an associated connectivity matrix.
operation_group_gid : tvb.core.neotraits.view_model.ViewModel.operation_group_gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=False)
ranges : tvb.core.neotraits.view_model.ViewModel.ranges = Attr(field_type=<class ‘str’>, default=None, required=False)
range_values : tvb.core.neotraits.view_model.ViewModel.range_values = Attr(field_type=<class ‘str’>, default=None, required=False)
is_metric_operation : tvb.core.neotraits.view_model.ViewModel.is_metric_operation = Attr(field_type=<class ‘bool’>, default=False, required=True)
- coupling_strengthtvb.datatypes.cortex.Cortex.coupling_strength = NArray(label=’Local coupling strength’, dtype=float64, default=array([1.]), dim_names=(), ndim=None, required=True)
A factor that rescales local connectivity strengths.
gid : tvb.basic.neotraits._core.HasTraits.gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
- property linked_has_traits¶
- local_connectivity¶
Keep a GID but also link the type of DataType it should point to
- region_mapping_data¶
Keep a GID but also link the type of DataType it should point to
- surface_gid¶
Keep a GID but also link the type of DataType it should point to
- class tvb.core.entities.file.simulator.view_model.Dop853StochasticViewModel[source]¶
Bases:
IntegratorStochasticViewModel
,Dop853Stochastic
Traited class [tvb.core.entities.file.simulator.view_model.Dop853StochasticViewModel]¶
Attributes declared¶
- noisetvb.core.entities.file.simulator.view_model.IntegratorStochasticViewModel.noise = Attr(field_type=<class ‘tvb.core.entities.file.simulator.view_model.NoiseViewModel’>, default=<tvb.core.entities.file.simulator.view_model.AdditiveNoiseViewModel object at 0x7f5d62b31e40>, required=True)
The stochastic integrator’s noise source. It incorporates its own instance of Numpy’s RandomState.
operation_group_gid : tvb.core.neotraits.view_model.ViewModel.operation_group_gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=False)
ranges : tvb.core.neotraits.view_model.ViewModel.ranges = Attr(field_type=<class ‘str’>, default=None, required=False)
range_values : tvb.core.neotraits.view_model.ViewModel.range_values = Attr(field_type=<class ‘str’>, default=None, required=False)
is_metric_operation : tvb.core.neotraits.view_model.ViewModel.is_metric_operation = Attr(field_type=<class ‘bool’>, default=False, required=True)
- dttvb.simulator.integrators.Integrator.dt = Float(field_type=<class ‘float’>, default=0.01220703125, required=True)
The step size used by the integration routine in ms. This should be chosen to be small enough for the integration to be numerically stable. It is also necessary to consider the desired sample period of the Monitors, as they are restricted to being integral multiples of this value. The default value is set such that all built-in models are numerically stable with there default parameters and because it is consitent with Monitors using sample periods corresponding to powers of 2 from 128 to 4096Hz.
bounded_state_variable_indices : tvb.simulator.integrators.Integrator.bounded_state_variable_indices = NArray(label=”indices of the state variables to be bounded by the integrators within the boundaries in the boundaries’ values array”, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
state_variable_boundaries : tvb.simulator.integrators.Integrator.state_variable_boundaries = NArray(label=’The boundary values of the state variables’, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
clamped_state_variable_indices : tvb.simulator.integrators.Integrator.clamped_state_variable_indices = NArray(label=’indices of the state variables to be clamped by the integrators to the values in the clamped_values array’, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
clamped_state_variable_values : tvb.simulator.integrators.Integrator.clamped_state_variable_values = NArray(label=’The values of the state variables which are clamped ‘, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
gid : tvb.basic.neotraits._core.HasTraits.gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
- property linked_has_traits¶
- class tvb.core.entities.file.simulator.view_model.Dop853ViewModel(**kwargs)[source]¶
Bases:
IntegratorViewModel
,Dop853
Traited class [tvb.core.entities.file.simulator.view_model.Dop853ViewModel]¶
Attributes declared¶
operation_group_gid : tvb.core.neotraits.view_model.ViewModel.operation_group_gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=False)
ranges : tvb.core.neotraits.view_model.ViewModel.ranges = Attr(field_type=<class ‘str’>, default=None, required=False)
range_values : tvb.core.neotraits.view_model.ViewModel.range_values = Attr(field_type=<class ‘str’>, default=None, required=False)
is_metric_operation : tvb.core.neotraits.view_model.ViewModel.is_metric_operation = Attr(field_type=<class ‘bool’>, default=False, required=True)
- dttvb.simulator.integrators.Integrator.dt = Float(field_type=<class ‘float’>, default=0.01220703125, required=True)
The step size used by the integration routine in ms. This should be chosen to be small enough for the integration to be numerically stable. It is also necessary to consider the desired sample period of the Monitors, as they are restricted to being integral multiples of this value. The default value is set such that all built-in models are numerically stable with there default parameters and because it is consitent with Monitors using sample periods corresponding to powers of 2 from 128 to 4096Hz.
bounded_state_variable_indices : tvb.simulator.integrators.Integrator.bounded_state_variable_indices = NArray(label=”indices of the state variables to be bounded by the integrators within the boundaries in the boundaries’ values array”, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
state_variable_boundaries : tvb.simulator.integrators.Integrator.state_variable_boundaries = NArray(label=’The boundary values of the state variables’, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
clamped_state_variable_indices : tvb.simulator.integrators.Integrator.clamped_state_variable_indices = NArray(label=’indices of the state variables to be clamped by the integrators to the values in the clamped_values array’, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
clamped_state_variable_values : tvb.simulator.integrators.Integrator.clamped_state_variable_values = NArray(label=’The values of the state variables which are clamped ‘, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
gid : tvb.basic.neotraits._core.HasTraits.gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
- property linked_has_traits¶
- class tvb.core.entities.file.simulator.view_model.Dopri5StochasticViewModel[source]¶
Bases:
IntegratorStochasticViewModel
,Dopri5Stochastic
Traited class [tvb.core.entities.file.simulator.view_model.Dopri5StochasticViewModel]¶
Attributes declared¶
- noisetvb.core.entities.file.simulator.view_model.IntegratorStochasticViewModel.noise = Attr(field_type=<class ‘tvb.core.entities.file.simulator.view_model.NoiseViewModel’>, default=<tvb.core.entities.file.simulator.view_model.AdditiveNoiseViewModel object at 0x7f5d62b31e40>, required=True)
The stochastic integrator’s noise source. It incorporates its own instance of Numpy’s RandomState.
operation_group_gid : tvb.core.neotraits.view_model.ViewModel.operation_group_gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=False)
ranges : tvb.core.neotraits.view_model.ViewModel.ranges = Attr(field_type=<class ‘str’>, default=None, required=False)
range_values : tvb.core.neotraits.view_model.ViewModel.range_values = Attr(field_type=<class ‘str’>, default=None, required=False)
is_metric_operation : tvb.core.neotraits.view_model.ViewModel.is_metric_operation = Attr(field_type=<class ‘bool’>, default=False, required=True)
- dttvb.simulator.integrators.Integrator.dt = Float(field_type=<class ‘float’>, default=0.01220703125, required=True)
The step size used by the integration routine in ms. This should be chosen to be small enough for the integration to be numerically stable. It is also necessary to consider the desired sample period of the Monitors, as they are restricted to being integral multiples of this value. The default value is set such that all built-in models are numerically stable with there default parameters and because it is consitent with Monitors using sample periods corresponding to powers of 2 from 128 to 4096Hz.
bounded_state_variable_indices : tvb.simulator.integrators.Integrator.bounded_state_variable_indices = NArray(label=”indices of the state variables to be bounded by the integrators within the boundaries in the boundaries’ values array”, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
state_variable_boundaries : tvb.simulator.integrators.Integrator.state_variable_boundaries = NArray(label=’The boundary values of the state variables’, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
clamped_state_variable_indices : tvb.simulator.integrators.Integrator.clamped_state_variable_indices = NArray(label=’indices of the state variables to be clamped by the integrators to the values in the clamped_values array’, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
clamped_state_variable_values : tvb.simulator.integrators.Integrator.clamped_state_variable_values = NArray(label=’The values of the state variables which are clamped ‘, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
gid : tvb.basic.neotraits._core.HasTraits.gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
- property linked_has_traits¶
- class tvb.core.entities.file.simulator.view_model.Dopri5ViewModel(**kwargs)[source]¶
Bases:
IntegratorViewModel
,Dopri5
Traited class [tvb.core.entities.file.simulator.view_model.Dopri5ViewModel]¶
Attributes declared¶
operation_group_gid : tvb.core.neotraits.view_model.ViewModel.operation_group_gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=False)
ranges : tvb.core.neotraits.view_model.ViewModel.ranges = Attr(field_type=<class ‘str’>, default=None, required=False)
range_values : tvb.core.neotraits.view_model.ViewModel.range_values = Attr(field_type=<class ‘str’>, default=None, required=False)
is_metric_operation : tvb.core.neotraits.view_model.ViewModel.is_metric_operation = Attr(field_type=<class ‘bool’>, default=False, required=True)
- dttvb.simulator.integrators.Integrator.dt = Float(field_type=<class ‘float’>, default=0.01220703125, required=True)
The step size used by the integration routine in ms. This should be chosen to be small enough for the integration to be numerically stable. It is also necessary to consider the desired sample period of the Monitors, as they are restricted to being integral multiples of this value. The default value is set such that all built-in models are numerically stable with there default parameters and because it is consitent with Monitors using sample periods corresponding to powers of 2 from 128 to 4096Hz.
bounded_state_variable_indices : tvb.simulator.integrators.Integrator.bounded_state_variable_indices = NArray(label=”indices of the state variables to be bounded by the integrators within the boundaries in the boundaries’ values array”, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
state_variable_boundaries : tvb.simulator.integrators.Integrator.state_variable_boundaries = NArray(label=’The boundary values of the state variables’, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
clamped_state_variable_indices : tvb.simulator.integrators.Integrator.clamped_state_variable_indices = NArray(label=’indices of the state variables to be clamped by the integrators to the values in the clamped_values array’, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
clamped_state_variable_values : tvb.simulator.integrators.Integrator.clamped_state_variable_values = NArray(label=’The values of the state variables which are clamped ‘, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
gid : tvb.basic.neotraits._core.HasTraits.gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
- property linked_has_traits¶
- class tvb.core.entities.file.simulator.view_model.EEGViewModel(**kwargs)[source]¶
Bases:
ProjectionViewModel
,EEG
Traited class [tvb.core.entities.file.simulator.view_model.EEGViewModel]¶
Attributes declared¶
- projectiontvb.core.entities.file.simulator.view_model.EEGViewModel.projection = DataTypeGidAttr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
Projection matrix to apply to sources.
- sensorstvb.core.entities.file.simulator.view_model.EEGViewModel.sensors = DataTypeGidAttr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
Sensors to use for this EEG monitor
- region_mappingtvb.core.entities.file.simulator.view_model.ProjectionViewModel.region_mapping = DataTypeGidAttr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
A region mapping specifies how vertices of a surface correspond to given regions in the connectivity. For iEEG/EEG/MEG monitors, this must be specified when performing a region simulation but is optional for a surface simulation.
operation_group_gid : tvb.core.neotraits.view_model.ViewModel.operation_group_gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=False)
ranges : tvb.core.neotraits.view_model.ViewModel.ranges = Attr(field_type=<class ‘str’>, default=None, required=False)
range_values : tvb.core.neotraits.view_model.ViewModel.range_values = Attr(field_type=<class ‘str’>, default=None, required=False)
is_metric_operation : tvb.core.neotraits.view_model.ViewModel.is_metric_operation = Attr(field_type=<class ‘bool’>, default=False, required=True)
- referencetvb.simulator.monitors.EEG.reference = Attr(field_type=<class ‘str’>, default=None, required=False)
EEG Electrode to be used as reference, or “average” to apply an average reference. If none is provided, the produced time-series are the idealized or reference-free.
- sigmatvb.simulator.monitors.EEG.sigma = Float(field_type=<class ‘float’>, default=1.0, required=True)
When a projection matrix is not used, this provides the value of conductivity in the formula for the single sphere approximation of the head (Sarvas 1987).
- obsnoisetvb.simulator.monitors.Projection.obsnoise = Attr(field_type=<class ‘tvb.simulator.noise.Noise’>, default=<class ‘tvb.simulator.noise.Additive’>, required=False)
The monitor’s noise source. It incorporates its own instance of Numpy’s RandomState.
- periodtvb.simulator.monitors.Monitor.period = Float(field_type=<class ‘float’>, default=0.9765625, required=True)
Sampling period in milliseconds, must be an integral multiple of integration-step size. As a guide: 2048 Hz => 0.48828125 ms ; 1024 Hz => 0.9765625 ms ; 512 Hz => 1.953125 ms.
- variables_of_interesttvb.simulator.monitors.Monitor.variables_of_interest = NArray(label=’Model variables to watch’, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
Indices of model’s variables of interest (VOI) that this monitor should record. Note that the indices should start at zero, so that if a model offers VOIs V, W and V+W, and W is selected, and this monitor should record W, then the correct index is 0.
gid : tvb.basic.neotraits._core.HasTraits.gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
- property linked_has_traits¶
- projection¶
Keep a GID but also link the type of DataType it should point to
- sensors¶
Keep a GID but also link the type of DataType it should point to
- class tvb.core.entities.file.simulator.view_model.EulerDeterministicViewModel(**kwargs)[source]¶
Bases:
IntegratorViewModel
,EulerDeterministic
Traited class [tvb.core.entities.file.simulator.view_model.EulerDeterministicViewModel]¶
Attributes declared¶
operation_group_gid : tvb.core.neotraits.view_model.ViewModel.operation_group_gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=False)
ranges : tvb.core.neotraits.view_model.ViewModel.ranges = Attr(field_type=<class ‘str’>, default=None, required=False)
range_values : tvb.core.neotraits.view_model.ViewModel.range_values = Attr(field_type=<class ‘str’>, default=None, required=False)
is_metric_operation : tvb.core.neotraits.view_model.ViewModel.is_metric_operation = Attr(field_type=<class ‘bool’>, default=False, required=True)
- dttvb.simulator.integrators.Integrator.dt = Float(field_type=<class ‘float’>, default=0.01220703125, required=True)
The step size used by the integration routine in ms. This should be chosen to be small enough for the integration to be numerically stable. It is also necessary to consider the desired sample period of the Monitors, as they are restricted to being integral multiples of this value. The default value is set such that all built-in models are numerically stable with there default parameters and because it is consitent with Monitors using sample periods corresponding to powers of 2 from 128 to 4096Hz.
bounded_state_variable_indices : tvb.simulator.integrators.Integrator.bounded_state_variable_indices = NArray(label=”indices of the state variables to be bounded by the integrators within the boundaries in the boundaries’ values array”, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
state_variable_boundaries : tvb.simulator.integrators.Integrator.state_variable_boundaries = NArray(label=’The boundary values of the state variables’, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
clamped_state_variable_indices : tvb.simulator.integrators.Integrator.clamped_state_variable_indices = NArray(label=’indices of the state variables to be clamped by the integrators to the values in the clamped_values array’, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
clamped_state_variable_values : tvb.simulator.integrators.Integrator.clamped_state_variable_values = NArray(label=’The values of the state variables which are clamped ‘, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
gid : tvb.basic.neotraits._core.HasTraits.gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
- property linked_has_traits¶
- class tvb.core.entities.file.simulator.view_model.EulerStochasticViewModel[source]¶
Bases:
IntegratorStochasticViewModel
,EulerStochastic
Traited class [tvb.core.entities.file.simulator.view_model.EulerStochasticViewModel]¶
Attributes declared¶
- noisetvb.core.entities.file.simulator.view_model.IntegratorStochasticViewModel.noise = Attr(field_type=<class ‘tvb.core.entities.file.simulator.view_model.NoiseViewModel’>, default=<tvb.core.entities.file.simulator.view_model.AdditiveNoiseViewModel object at 0x7f5d62b31e40>, required=True)
The stochastic integrator’s noise source. It incorporates its own instance of Numpy’s RandomState.
operation_group_gid : tvb.core.neotraits.view_model.ViewModel.operation_group_gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=False)
ranges : tvb.core.neotraits.view_model.ViewModel.ranges = Attr(field_type=<class ‘str’>, default=None, required=False)
range_values : tvb.core.neotraits.view_model.ViewModel.range_values = Attr(field_type=<class ‘str’>, default=None, required=False)
is_metric_operation : tvb.core.neotraits.view_model.ViewModel.is_metric_operation = Attr(field_type=<class ‘bool’>, default=False, required=True)
- dttvb.simulator.integrators.Integrator.dt = Float(field_type=<class ‘float’>, default=0.01220703125, required=True)
The step size used by the integration routine in ms. This should be chosen to be small enough for the integration to be numerically stable. It is also necessary to consider the desired sample period of the Monitors, as they are restricted to being integral multiples of this value. The default value is set such that all built-in models are numerically stable with there default parameters and because it is consitent with Monitors using sample periods corresponding to powers of 2 from 128 to 4096Hz.
bounded_state_variable_indices : tvb.simulator.integrators.Integrator.bounded_state_variable_indices = NArray(label=”indices of the state variables to be bounded by the integrators within the boundaries in the boundaries’ values array”, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
state_variable_boundaries : tvb.simulator.integrators.Integrator.state_variable_boundaries = NArray(label=’The boundary values of the state variables’, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
clamped_state_variable_indices : tvb.simulator.integrators.Integrator.clamped_state_variable_indices = NArray(label=’indices of the state variables to be clamped by the integrators to the values in the clamped_values array’, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
clamped_state_variable_values : tvb.simulator.integrators.Integrator.clamped_state_variable_values = NArray(label=’The values of the state variables which are clamped ‘, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
gid : tvb.basic.neotraits._core.HasTraits.gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
- property linked_has_traits¶
- class tvb.core.entities.file.simulator.view_model.GlobalAverageViewModel(**kwargs)[source]¶
Bases:
MonitorViewModel
,GlobalAverage
Traited class [tvb.core.entities.file.simulator.view_model.GlobalAverageViewModel]¶
Attributes declared¶
operation_group_gid : tvb.core.neotraits.view_model.ViewModel.operation_group_gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=False)
ranges : tvb.core.neotraits.view_model.ViewModel.ranges = Attr(field_type=<class ‘str’>, default=None, required=False)
range_values : tvb.core.neotraits.view_model.ViewModel.range_values = Attr(field_type=<class ‘str’>, default=None, required=False)
is_metric_operation : tvb.core.neotraits.view_model.ViewModel.is_metric_operation = Attr(field_type=<class ‘bool’>, default=False, required=True)
- periodtvb.simulator.monitors.Monitor.period = Float(field_type=<class ‘float’>, default=0.9765625, required=True)
Sampling period in milliseconds, must be an integral multiple of integration-step size. As a guide: 2048 Hz => 0.48828125 ms ; 1024 Hz => 0.9765625 ms ; 512 Hz => 1.953125 ms.
- variables_of_interesttvb.simulator.monitors.Monitor.variables_of_interest = NArray(label=’Model variables to watch’, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
Indices of model’s variables of interest (VOI) that this monitor should record. Note that the indices should start at zero, so that if a model offers VOIs V, W and V+W, and W is selected, and this monitor should record W, then the correct index is 0.
gid : tvb.basic.neotraits._core.HasTraits.gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
- property linked_has_traits¶
- class tvb.core.entities.file.simulator.view_model.HeunDeterministicViewModel(**kwargs)[source]¶
Bases:
IntegratorViewModel
,HeunDeterministic
Traited class [tvb.core.entities.file.simulator.view_model.HeunDeterministicViewModel]¶
Attributes declared¶
operation_group_gid : tvb.core.neotraits.view_model.ViewModel.operation_group_gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=False)
ranges : tvb.core.neotraits.view_model.ViewModel.ranges = Attr(field_type=<class ‘str’>, default=None, required=False)
range_values : tvb.core.neotraits.view_model.ViewModel.range_values = Attr(field_type=<class ‘str’>, default=None, required=False)
is_metric_operation : tvb.core.neotraits.view_model.ViewModel.is_metric_operation = Attr(field_type=<class ‘bool’>, default=False, required=True)
- dttvb.simulator.integrators.Integrator.dt = Float(field_type=<class ‘float’>, default=0.01220703125, required=True)
The step size used by the integration routine in ms. This should be chosen to be small enough for the integration to be numerically stable. It is also necessary to consider the desired sample period of the Monitors, as they are restricted to being integral multiples of this value. The default value is set such that all built-in models are numerically stable with there default parameters and because it is consitent with Monitors using sample periods corresponding to powers of 2 from 128 to 4096Hz.
bounded_state_variable_indices : tvb.simulator.integrators.Integrator.bounded_state_variable_indices = NArray(label=”indices of the state variables to be bounded by the integrators within the boundaries in the boundaries’ values array”, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
state_variable_boundaries : tvb.simulator.integrators.Integrator.state_variable_boundaries = NArray(label=’The boundary values of the state variables’, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
clamped_state_variable_indices : tvb.simulator.integrators.Integrator.clamped_state_variable_indices = NArray(label=’indices of the state variables to be clamped by the integrators to the values in the clamped_values array’, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
clamped_state_variable_values : tvb.simulator.integrators.Integrator.clamped_state_variable_values = NArray(label=’The values of the state variables which are clamped ‘, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
gid : tvb.basic.neotraits._core.HasTraits.gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
- property linked_has_traits¶
- class tvb.core.entities.file.simulator.view_model.HeunStochasticViewModel[source]¶
Bases:
IntegratorStochasticViewModel
,HeunStochastic
Traited class [tvb.core.entities.file.simulator.view_model.HeunStochasticViewModel]¶
Attributes declared¶
- noisetvb.core.entities.file.simulator.view_model.IntegratorStochasticViewModel.noise = Attr(field_type=<class ‘tvb.core.entities.file.simulator.view_model.NoiseViewModel’>, default=<tvb.core.entities.file.simulator.view_model.AdditiveNoiseViewModel object at 0x7f5d62b31e40>, required=True)
The stochastic integrator’s noise source. It incorporates its own instance of Numpy’s RandomState.
operation_group_gid : tvb.core.neotraits.view_model.ViewModel.operation_group_gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=False)
ranges : tvb.core.neotraits.view_model.ViewModel.ranges = Attr(field_type=<class ‘str’>, default=None, required=False)
range_values : tvb.core.neotraits.view_model.ViewModel.range_values = Attr(field_type=<class ‘str’>, default=None, required=False)
is_metric_operation : tvb.core.neotraits.view_model.ViewModel.is_metric_operation = Attr(field_type=<class ‘bool’>, default=False, required=True)
- dttvb.simulator.integrators.Integrator.dt = Float(field_type=<class ‘float’>, default=0.01220703125, required=True)
The step size used by the integration routine in ms. This should be chosen to be small enough for the integration to be numerically stable. It is also necessary to consider the desired sample period of the Monitors, as they are restricted to being integral multiples of this value. The default value is set such that all built-in models are numerically stable with there default parameters and because it is consitent with Monitors using sample periods corresponding to powers of 2 from 128 to 4096Hz.
bounded_state_variable_indices : tvb.simulator.integrators.Integrator.bounded_state_variable_indices = NArray(label=”indices of the state variables to be bounded by the integrators within the boundaries in the boundaries’ values array”, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
state_variable_boundaries : tvb.simulator.integrators.Integrator.state_variable_boundaries = NArray(label=’The boundary values of the state variables’, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
clamped_state_variable_indices : tvb.simulator.integrators.Integrator.clamped_state_variable_indices = NArray(label=’indices of the state variables to be clamped by the integrators to the values in the clamped_values array’, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
clamped_state_variable_values : tvb.simulator.integrators.Integrator.clamped_state_variable_values = NArray(label=’The values of the state variables which are clamped ‘, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
gid : tvb.basic.neotraits._core.HasTraits.gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
- property linked_has_traits¶
- class tvb.core.entities.file.simulator.view_model.IdentityViewModel(**kwargs)[source]¶
Bases:
IntegratorViewModel
,Identity
Traited class [tvb.core.entities.file.simulator.view_model.IdentityViewModel]¶
Attributes declared¶
operation_group_gid : tvb.core.neotraits.view_model.ViewModel.operation_group_gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=False)
ranges : tvb.core.neotraits.view_model.ViewModel.ranges = Attr(field_type=<class ‘str’>, default=None, required=False)
range_values : tvb.core.neotraits.view_model.ViewModel.range_values = Attr(field_type=<class ‘str’>, default=None, required=False)
is_metric_operation : tvb.core.neotraits.view_model.ViewModel.is_metric_operation = Attr(field_type=<class ‘bool’>, default=False, required=True)
- dttvb.simulator.integrators.Integrator.dt = Float(field_type=<class ‘float’>, default=0.01220703125, required=True)
The step size used by the integration routine in ms. This should be chosen to be small enough for the integration to be numerically stable. It is also necessary to consider the desired sample period of the Monitors, as they are restricted to being integral multiples of this value. The default value is set such that all built-in models are numerically stable with there default parameters and because it is consitent with Monitors using sample periods corresponding to powers of 2 from 128 to 4096Hz.
bounded_state_variable_indices : tvb.simulator.integrators.Integrator.bounded_state_variable_indices = NArray(label=”indices of the state variables to be bounded by the integrators within the boundaries in the boundaries’ values array”, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
state_variable_boundaries : tvb.simulator.integrators.Integrator.state_variable_boundaries = NArray(label=’The boundary values of the state variables’, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
clamped_state_variable_indices : tvb.simulator.integrators.Integrator.clamped_state_variable_indices = NArray(label=’indices of the state variables to be clamped by the integrators to the values in the clamped_values array’, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
clamped_state_variable_values : tvb.simulator.integrators.Integrator.clamped_state_variable_values = NArray(label=’The values of the state variables which are clamped ‘, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
gid : tvb.basic.neotraits._core.HasTraits.gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
- property linked_has_traits¶
- class tvb.core.entities.file.simulator.view_model.IntegratorStochasticViewModel[source]¶
Bases:
IntegratorViewModel
,IntegratorStochastic
Traited class [tvb.core.entities.file.simulator.view_model.IntegratorStochasticViewModel]¶
Attributes declared¶
- noisetvb.core.entities.file.simulator.view_model.IntegratorStochasticViewModel.noise = Attr(field_type=<class ‘tvb.core.entities.file.simulator.view_model.NoiseViewModel’>, default=<tvb.core.entities.file.simulator.view_model.AdditiveNoiseViewModel object at 0x7f5d62b31e40>, required=True)
The stochastic integrator’s noise source. It incorporates its own instance of Numpy’s RandomState.
operation_group_gid : tvb.core.neotraits.view_model.ViewModel.operation_group_gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=False)
ranges : tvb.core.neotraits.view_model.ViewModel.ranges = Attr(field_type=<class ‘str’>, default=None, required=False)
range_values : tvb.core.neotraits.view_model.ViewModel.range_values = Attr(field_type=<class ‘str’>, default=None, required=False)
is_metric_operation : tvb.core.neotraits.view_model.ViewModel.is_metric_operation = Attr(field_type=<class ‘bool’>, default=False, required=True)
- dttvb.simulator.integrators.Integrator.dt = Float(field_type=<class ‘float’>, default=0.01220703125, required=True)
The step size used by the integration routine in ms. This should be chosen to be small enough for the integration to be numerically stable. It is also necessary to consider the desired sample period of the Monitors, as they are restricted to being integral multiples of this value. The default value is set such that all built-in models are numerically stable with there default parameters and because it is consitent with Monitors using sample periods corresponding to powers of 2 from 128 to 4096Hz.
bounded_state_variable_indices : tvb.simulator.integrators.Integrator.bounded_state_variable_indices = NArray(label=”indices of the state variables to be bounded by the integrators within the boundaries in the boundaries’ values array”, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
state_variable_boundaries : tvb.simulator.integrators.Integrator.state_variable_boundaries = NArray(label=’The boundary values of the state variables’, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
clamped_state_variable_indices : tvb.simulator.integrators.Integrator.clamped_state_variable_indices = NArray(label=’indices of the state variables to be clamped by the integrators to the values in the clamped_values array’, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
clamped_state_variable_values : tvb.simulator.integrators.Integrator.clamped_state_variable_values = NArray(label=’The values of the state variables which are clamped ‘, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
gid : tvb.basic.neotraits._core.HasTraits.gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
- property linked_has_traits¶
- noise¶
An Attr declares the following about the attribute it describes: * the type * a default value shared by all instances * if the value might be missing * documentation It will resolve to attributes on the instance.
- class tvb.core.entities.file.simulator.view_model.IntegratorViewModel(**kwargs)[source]¶
Bases:
ViewModel
,Integrator
Traited class [tvb.core.entities.file.simulator.view_model.IntegratorViewModel]¶
Attributes declared¶
operation_group_gid : tvb.core.neotraits.view_model.ViewModel.operation_group_gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=False)
ranges : tvb.core.neotraits.view_model.ViewModel.ranges = Attr(field_type=<class ‘str’>, default=None, required=False)
range_values : tvb.core.neotraits.view_model.ViewModel.range_values = Attr(field_type=<class ‘str’>, default=None, required=False)
is_metric_operation : tvb.core.neotraits.view_model.ViewModel.is_metric_operation = Attr(field_type=<class ‘bool’>, default=False, required=True)
- dttvb.simulator.integrators.Integrator.dt = Float(field_type=<class ‘float’>, default=0.01220703125, required=True)
The step size used by the integration routine in ms. This should be chosen to be small enough for the integration to be numerically stable. It is also necessary to consider the desired sample period of the Monitors, as they are restricted to being integral multiples of this value. The default value is set such that all built-in models are numerically stable with there default parameters and because it is consitent with Monitors using sample periods corresponding to powers of 2 from 128 to 4096Hz.
bounded_state_variable_indices : tvb.simulator.integrators.Integrator.bounded_state_variable_indices = NArray(label=”indices of the state variables to be bounded by the integrators within the boundaries in the boundaries’ values array”, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
state_variable_boundaries : tvb.simulator.integrators.Integrator.state_variable_boundaries = NArray(label=’The boundary values of the state variables’, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
clamped_state_variable_indices : tvb.simulator.integrators.Integrator.clamped_state_variable_indices = NArray(label=’indices of the state variables to be clamped by the integrators to the values in the clamped_values array’, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
clamped_state_variable_values : tvb.simulator.integrators.Integrator.clamped_state_variable_values = NArray(label=’The values of the state variables which are clamped ‘, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
gid : tvb.basic.neotraits._core.HasTraits.gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
- property linked_has_traits¶
- class tvb.core.entities.file.simulator.view_model.IntegratorViewModelsEnum(value)[source]¶
Bases:
TupleEnum
An enumeration.
- DIFFERENCE_EQUATION = <class 'tvb.core.entities.file.simulator.view_model.IdentityViewModel'>¶
- DOPRI_5 = <class 'tvb.core.entities.file.simulator.view_model.Dopri5ViewModel'>¶
- DOPRI_5_STOCHASTIC = <class 'tvb.core.entities.file.simulator.view_model.Dopri5StochasticViewModel'>¶
- DOP_853 = <class 'tvb.core.entities.file.simulator.view_model.Dop853ViewModel'>¶
- DOP_853_STOCHASTIC = <class 'tvb.core.entities.file.simulator.view_model.Dop853StochasticViewModel'>¶
- EULER = <class 'tvb.core.entities.file.simulator.view_model.EulerDeterministicViewModel'>¶
- EULER_MARUYAMA = <class 'tvb.core.entities.file.simulator.view_model.EulerStochasticViewModel'>¶
- HEUN = <class 'tvb.core.entities.file.simulator.view_model.HeunDeterministicViewModel'>¶
- RUNGE_KUTTA = <class 'tvb.core.entities.file.simulator.view_model.RungeKutta4thOrderDeterministicViewModel'>¶
- STOCHASTIC_HEUN = <class 'tvb.core.entities.file.simulator.view_model.HeunStochasticViewModel'>¶
- STOCHASTIC_VARIABLE_ODER_ADAMS = <class 'tvb.core.entities.file.simulator.view_model.VODEStochasticViewModel'>¶
- VARIABLE_ORDER_ADAMS = <class 'tvb.core.entities.file.simulator.view_model.VODEViewModel'>¶
- class tvb.core.entities.file.simulator.view_model.MEGViewModel(**kwargs)[source]¶
Bases:
ProjectionViewModel
,MEG
Traited class [tvb.core.entities.file.simulator.view_model.MEGViewModel]¶
Attributes declared¶
- projectiontvb.core.entities.file.simulator.view_model.MEGViewModel.projection = DataTypeGidAttr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
Projection matrix to apply to sources.
- sensorstvb.core.entities.file.simulator.view_model.MEGViewModel.sensors = DataTypeGidAttr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
The set of MEG sensors for which the forward solution will be calculated.
- region_mappingtvb.core.entities.file.simulator.view_model.ProjectionViewModel.region_mapping = DataTypeGidAttr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
A region mapping specifies how vertices of a surface correspond to given regions in the connectivity. For iEEG/EEG/MEG monitors, this must be specified when performing a region simulation but is optional for a surface simulation.
operation_group_gid : tvb.core.neotraits.view_model.ViewModel.operation_group_gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=False)
ranges : tvb.core.neotraits.view_model.ViewModel.ranges = Attr(field_type=<class ‘str’>, default=None, required=False)
range_values : tvb.core.neotraits.view_model.ViewModel.range_values = Attr(field_type=<class ‘str’>, default=None, required=False)
is_metric_operation : tvb.core.neotraits.view_model.ViewModel.is_metric_operation = Attr(field_type=<class ‘bool’>, default=False, required=True)
- obsnoisetvb.simulator.monitors.Projection.obsnoise = Attr(field_type=<class ‘tvb.simulator.noise.Noise’>, default=<class ‘tvb.simulator.noise.Additive’>, required=False)
The monitor’s noise source. It incorporates its own instance of Numpy’s RandomState.
- periodtvb.simulator.monitors.Monitor.period = Float(field_type=<class ‘float’>, default=0.9765625, required=True)
Sampling period in milliseconds, must be an integral multiple of integration-step size. As a guide: 2048 Hz => 0.48828125 ms ; 1024 Hz => 0.9765625 ms ; 512 Hz => 1.953125 ms.
- variables_of_interesttvb.simulator.monitors.Monitor.variables_of_interest = NArray(label=’Model variables to watch’, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
Indices of model’s variables of interest (VOI) that this monitor should record. Note that the indices should start at zero, so that if a model offers VOIs V, W and V+W, and W is selected, and this monitor should record W, then the correct index is 0.
gid : tvb.basic.neotraits._core.HasTraits.gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
- property linked_has_traits¶
- projection¶
Keep a GID but also link the type of DataType it should point to
- sensors¶
Keep a GID but also link the type of DataType it should point to
- class tvb.core.entities.file.simulator.view_model.MonitorViewModel(**kwargs)[source]¶
-
Traited class [tvb.core.entities.file.simulator.view_model.MonitorViewModel]¶
Attributes declared¶
operation_group_gid : tvb.core.neotraits.view_model.ViewModel.operation_group_gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=False)
ranges : tvb.core.neotraits.view_model.ViewModel.ranges = Attr(field_type=<class ‘str’>, default=None, required=False)
range_values : tvb.core.neotraits.view_model.ViewModel.range_values = Attr(field_type=<class ‘str’>, default=None, required=False)
is_metric_operation : tvb.core.neotraits.view_model.ViewModel.is_metric_operation = Attr(field_type=<class ‘bool’>, default=False, required=True)
- periodtvb.simulator.monitors.Monitor.period = Float(field_type=<class ‘float’>, default=0.9765625, required=True)
Sampling period in milliseconds, must be an integral multiple of integration-step size. As a guide: 2048 Hz => 0.48828125 ms ; 1024 Hz => 0.9765625 ms ; 512 Hz => 1.953125 ms.
- variables_of_interesttvb.simulator.monitors.Monitor.variables_of_interest = NArray(label=’Model variables to watch’, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
Indices of model’s variables of interest (VOI) that this monitor should record. Note that the indices should start at zero, so that if a model offers VOIs V, W and V+W, and W is selected, and this monitor should record W, then the correct index is 0.
gid : tvb.basic.neotraits._core.HasTraits.gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
- property linked_has_traits¶
- class tvb.core.entities.file.simulator.view_model.MultiplicativeNoiseViewModel[source]¶
Bases:
NoiseViewModel
,Multiplicative
Traited class [tvb.core.entities.file.simulator.view_model.MultiplicativeNoiseViewModel]¶
Attributes declared¶
operation_group_gid : tvb.core.neotraits.view_model.ViewModel.operation_group_gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=False)
ranges : tvb.core.neotraits.view_model.ViewModel.ranges = Attr(field_type=<class ‘str’>, default=None, required=False)
range_values : tvb.core.neotraits.view_model.ViewModel.range_values = Attr(field_type=<class ‘str’>, default=None, required=False)
is_metric_operation : tvb.core.neotraits.view_model.ViewModel.is_metric_operation = Attr(field_type=<class ‘bool’>, default=False, required=True)
- nsigtvb.simulator.noise.Multiplicative.nsig = NArray(label=’\(D\)’, dtype=float64, default=array([1.]), dim_names=(), ndim=None, required=True)
The noise dispersion, it is the standard deviation of the distribution from which the Gaussian random variates are drawn. NOTE: Sensible values are typically ~<< 1% of the dynamic range of a Model’s state variables.
- btvb.simulator.noise.Multiplicative.b = Attr(field_type=<class ‘tvb.datatypes.equations.TemporalApplicableEquation’>, default=<tvb.datatypes.equations.Linear object at 0x7f5d8a3bf5e0>, required=True)
A function evaluated on the state-variables, the result of which enters as the diffusion coefficient.
- ntautvb.simulator.noise.Noise.ntau = Float(field_type=<class ‘float’>, default=0.0, required=True)
The noise correlation time
- noise_seedtvb.simulator.noise.Noise.noise_seed = Int(field_type=<class ‘int’>, default=42, required=True)
A random seed used to initialise the random_stream if it is missing.
- random_streamtvb.simulator.noise.Noise.random_stream = Attr(field_type=<class ‘numpy.random.mtrand.RandomState’>, default=None, required=False)
An instance of numpy’s RandomState associated with thisspecific Noise object. Used when you need to resume a simulation from a state saved to disk
gid : tvb.basic.neotraits._core.HasTraits.gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
- property linked_has_traits¶
- class tvb.core.entities.file.simulator.view_model.NoiseViewModel(**kwargs)[source]¶
-
Traited class [tvb.core.entities.file.simulator.view_model.NoiseViewModel]¶
Attributes declared¶
operation_group_gid : tvb.core.neotraits.view_model.ViewModel.operation_group_gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=False)
ranges : tvb.core.neotraits.view_model.ViewModel.ranges = Attr(field_type=<class ‘str’>, default=None, required=False)
range_values : tvb.core.neotraits.view_model.ViewModel.range_values = Attr(field_type=<class ‘str’>, default=None, required=False)
is_metric_operation : tvb.core.neotraits.view_model.ViewModel.is_metric_operation = Attr(field_type=<class ‘bool’>, default=False, required=True)
- ntautvb.simulator.noise.Noise.ntau = Float(field_type=<class ‘float’>, default=0.0, required=True)
The noise correlation time
- noise_seedtvb.simulator.noise.Noise.noise_seed = Int(field_type=<class ‘int’>, default=42, required=True)
A random seed used to initialise the random_stream if it is missing.
- random_streamtvb.simulator.noise.Noise.random_stream = Attr(field_type=<class ‘numpy.random.mtrand.RandomState’>, default=None, required=False)
An instance of numpy’s RandomState associated with thisspecific Noise object. Used when you need to resume a simulation from a state saved to disk
gid : tvb.basic.neotraits._core.HasTraits.gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
- property linked_has_traits¶
- class tvb.core.entities.file.simulator.view_model.ProjectionViewModel(**kwargs)[source]¶
Bases:
MonitorViewModel
,Projection
Traited class [tvb.core.entities.file.simulator.view_model.ProjectionViewModel]¶
Attributes declared¶
- region_mappingtvb.core.entities.file.simulator.view_model.ProjectionViewModel.region_mapping = DataTypeGidAttr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
A region mapping specifies how vertices of a surface correspond to given regions in the connectivity. For iEEG/EEG/MEG monitors, this must be specified when performing a region simulation but is optional for a surface simulation.
operation_group_gid : tvb.core.neotraits.view_model.ViewModel.operation_group_gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=False)
ranges : tvb.core.neotraits.view_model.ViewModel.ranges = Attr(field_type=<class ‘str’>, default=None, required=False)
range_values : tvb.core.neotraits.view_model.ViewModel.range_values = Attr(field_type=<class ‘str’>, default=None, required=False)
is_metric_operation : tvb.core.neotraits.view_model.ViewModel.is_metric_operation = Attr(field_type=<class ‘bool’>, default=False, required=True)
- obsnoisetvb.simulator.monitors.Projection.obsnoise = Attr(field_type=<class ‘tvb.simulator.noise.Noise’>, default=<class ‘tvb.simulator.noise.Additive’>, required=False)
The monitor’s noise source. It incorporates its own instance of Numpy’s RandomState.
- periodtvb.simulator.monitors.Monitor.period = Float(field_type=<class ‘float’>, default=0.9765625, required=True)
Sampling period in milliseconds, must be an integral multiple of integration-step size. As a guide: 2048 Hz => 0.48828125 ms ; 1024 Hz => 0.9765625 ms ; 512 Hz => 1.953125 ms.
- variables_of_interesttvb.simulator.monitors.Monitor.variables_of_interest = NArray(label=’Model variables to watch’, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
Indices of model’s variables of interest (VOI) that this monitor should record. Note that the indices should start at zero, so that if a model offers VOIs V, W and V+W, and W is selected, and this monitor should record W, then the correct index is 0.
gid : tvb.basic.neotraits._core.HasTraits.gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
- property linked_has_traits¶
- region_mapping¶
Keep a GID but also link the type of DataType it should point to
- class tvb.core.entities.file.simulator.view_model.RawViewModel(**kwargs)[source]¶
Bases:
MonitorViewModel
,Raw
Traited class [tvb.core.entities.file.simulator.view_model.RawViewModel]¶
Attributes declared¶
operation_group_gid : tvb.core.neotraits.view_model.ViewModel.operation_group_gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=False)
ranges : tvb.core.neotraits.view_model.ViewModel.ranges = Attr(field_type=<class ‘str’>, default=None, required=False)
range_values : tvb.core.neotraits.view_model.ViewModel.range_values = Attr(field_type=<class ‘str’>, default=None, required=False)
is_metric_operation : tvb.core.neotraits.view_model.ViewModel.is_metric_operation = Attr(field_type=<class ‘bool’>, default=False, required=True)
period : tvb.simulator.monitors.Raw.period = Float(field_type=<class ‘float’>, default=0.0, required=True)
variables_of_interest : tvb.simulator.monitors.Raw.variables_of_interest = NArray(label=’Raw Monitor sees all!!! Resistance is futile…’, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
gid : tvb.basic.neotraits._core.HasTraits.gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
- property linked_has_traits¶
- class tvb.core.entities.file.simulator.view_model.RungeKutta4thOrderDeterministicViewModel(**kwargs)[source]¶
Bases:
IntegratorViewModel
,RungeKutta4thOrderDeterministic
Traited class [tvb.core.entities.file.simulator.view_model.RungeKutta4thOrderDeterministicViewModel]¶
Attributes declared¶
operation_group_gid : tvb.core.neotraits.view_model.ViewModel.operation_group_gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=False)
ranges : tvb.core.neotraits.view_model.ViewModel.ranges = Attr(field_type=<class ‘str’>, default=None, required=False)
range_values : tvb.core.neotraits.view_model.ViewModel.range_values = Attr(field_type=<class ‘str’>, default=None, required=False)
is_metric_operation : tvb.core.neotraits.view_model.ViewModel.is_metric_operation = Attr(field_type=<class ‘bool’>, default=False, required=True)
- dttvb.simulator.integrators.Integrator.dt = Float(field_type=<class ‘float’>, default=0.01220703125, required=True)
The step size used by the integration routine in ms. This should be chosen to be small enough for the integration to be numerically stable. It is also necessary to consider the desired sample period of the Monitors, as they are restricted to being integral multiples of this value. The default value is set such that all built-in models are numerically stable with there default parameters and because it is consitent with Monitors using sample periods corresponding to powers of 2 from 128 to 4096Hz.
bounded_state_variable_indices : tvb.simulator.integrators.Integrator.bounded_state_variable_indices = NArray(label=”indices of the state variables to be bounded by the integrators within the boundaries in the boundaries’ values array”, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
state_variable_boundaries : tvb.simulator.integrators.Integrator.state_variable_boundaries = NArray(label=’The boundary values of the state variables’, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
clamped_state_variable_indices : tvb.simulator.integrators.Integrator.clamped_state_variable_indices = NArray(label=’indices of the state variables to be clamped by the integrators to the values in the clamped_values array’, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
clamped_state_variable_values : tvb.simulator.integrators.Integrator.clamped_state_variable_values = NArray(label=’The values of the state variables which are clamped ‘, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
gid : tvb.basic.neotraits._core.HasTraits.gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
- property linked_has_traits¶
- class tvb.core.entities.file.simulator.view_model.SimulatorAdapterModel[source]¶
-
Traited class [tvb.core.entities.file.simulator.view_model.SimulatorAdapterModel]¶
Attributes declared¶
- connectivitytvb.core.entities.file.simulator.view_model.SimulatorAdapterModel.connectivity = DataTypeGidAttr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
A tvb.datatypes.Connectivity object which contains the structural long-range connectivity data (i.e., white-matter tracts). In combination with the
Long-range coupling function
it defines the inter-regional connections. These couplings undergo a time delay via signal propagation with a propagation speed ofConduction Speed
- surfacetvb.core.entities.file.simulator.view_model.SimulatorAdapterModel.surface = Attr(field_type=<class ‘tvb.core.entities.file.simulator.view_model.CortexViewModel’>, default=None, required=False)
By default, a Cortex object which represents the cortical surface defined by points in the 3D physical space and their neighborhood relationship. In the current TVB version, when setting up a surface-based simulation, the option to configure the spatial spread of the
Local Connectivity
is available.- stimulustvb.core.entities.file.simulator.view_model.SimulatorAdapterModel.stimulus = DataTypeGidAttr(field_type=<class ‘uuid.UUID’>, default=None, required=False)
A
Spatiotemporal stimulus
can be defined at the region or surface level. It’s composed of spatial and temporal components. For region defined stimuli the spatial component is just the strength with which the temporal component is applied to each region. For surface defined stimuli, a (spatial) function, with finite-support, is used to define the strength of the stimuli on the surface centred around one or more focal points. In the current version of TVB, stimuli are applied to the first state variable of theLocal dynamic model
.
history_gid : tvb.core.entities.file.simulator.view_model.SimulatorAdapterModel.history_gid = DataTypeGidAttr(field_type=<class ‘uuid.UUID’>, default=None, required=False)
- integratortvb.core.entities.file.simulator.view_model.SimulatorAdapterModel.integrator = EnumAttr(field_type=<enum ‘IntegratorViewModelsEnum’>, default=<tvb.core.entities.file.simulator.view_model.HeunDeterministicViewModel object at 0x7f5d62b32590>, required=True)
A tvb.simulator.Integrator object which is an integration scheme with supporting attributes such as integration step size and noise specification for stochastic methods. It is used to compute the time courses of the model state variables.
- monitorstvb.core.entities.file.simulator.view_model.SimulatorAdapterModel.monitors = List(of=<class ‘tvb.core.entities.file.simulator.view_model.MonitorViewModel’>, default=(<tvb.core.entities.file.simulator.view_model.TemporalAverageViewModel object at 0x7f5d62b32680>,), required=True)
A tvb.simulator.Monitor or a list of tvb.simulator.Monitor objects that ‘know’ how to record relevant data from the simulation. Two main types exist: 1) simple, spatial and temporal, reductions (subsets or averages); 2) physiological measurements, such as EEG, MEG and fMRI. By default the Model’s specified variables_of_interest are returned, temporally down-sampled from the raw integration rate to a sample rate of 1024Hz.
operation_group_gid : tvb.core.neotraits.view_model.ViewModel.operation_group_gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=False)
ranges : tvb.core.neotraits.view_model.ViewModel.ranges = Attr(field_type=<class ‘str’>, default=None, required=False)
range_values : tvb.core.neotraits.view_model.ViewModel.range_values = Attr(field_type=<class ‘str’>, default=None, required=False)
is_metric_operation : tvb.core.neotraits.view_model.ViewModel.is_metric_operation = Attr(field_type=<class ‘bool’>, default=False, required=True)
- conduction_speedtvb.simulator.simulator.Simulator.conduction_speed = Float(field_type=<class ‘float’>, default=3.0, required=False)
Conduction speed for
Long-range connectivity
(mm/ms)- couplingtvb.simulator.simulator.Simulator.coupling = Attr(field_type=<class ‘tvb.simulator.coupling.Coupling’>, default=<class ‘tvb.simulator.coupling.Linear’>, required=True)
The coupling function is applied to the activity propagated between regions by the
Long-range connectivity
before it enters the local dynamic equations of the Model. Its primary purpose is to ‘rescale’ the incoming activity to a level appropriate to Model.- modeltvb.simulator.simulator.Simulator.model = Attr(field_type=<class ‘tvb.simulator.models.base.Model’>, default=<class ‘tvb.simulator.models.oscillator.Generic2dOscillator’>, required=True)
A tvb.simulator.Model object which describe the local dynamic equations, their parameters, and, to some extent, where connectivity (local and long-range) enters and which state-variables the Monitors monitor. By default the ‘Generic2dOscillator’ model is used. Read the Scientific documentation to learn more about this model.
- initial_conditionstvb.simulator.simulator.Simulator.initial_conditions = NArray(label=’Initial Conditions’, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
Initial conditions from which the simulation will begin. By default, random initial conditions are provided. Needs to be the same shape as simulator ‘history’, ie, initial history function which defines the minimal initial state of the network with time delays before time t=0. If the number of time points in the provided array is insufficient the array will be padded with random values based on the ‘state_variables_range’ attribute.
- simulation_lengthtvb.simulator.simulator.Simulator.simulation_length = Float(field_type=<class ‘float’>, default=1000.0, required=True)
The length of a simulation (default in milliseconds).
gid : tvb.basic.neotraits._core.HasTraits.gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
- connectivity¶
Keep a GID but also link the type of DataType it should point to
- property first_monitor¶
- history_gid¶
Keep a GID but also link the type of DataType it should point to
- integrator¶
- property linked_has_traits¶
- monitors¶
The attribute is a list of values. Choices and type are reinterpreted as applying not to the list but to the elements of it
- stimulus¶
Keep a GID but also link the type of DataType it should point to
- surface: cortex.Cortex¶
An Attr declares the following about the attribute it describes: * the type * a default value shared by all instances * if the value might be missing * documentation It will resolve to attributes on the instance.
- class tvb.core.entities.file.simulator.view_model.SpatialAverageViewModel(**kwargs)[source]¶
Bases:
MonitorViewModel
,SpatialAverage
Traited class [tvb.core.entities.file.simulator.view_model.SpatialAverageViewModel]¶
Attributes declared¶
operation_group_gid : tvb.core.neotraits.view_model.ViewModel.operation_group_gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=False)
ranges : tvb.core.neotraits.view_model.ViewModel.ranges = Attr(field_type=<class ‘str’>, default=None, required=False)
range_values : tvb.core.neotraits.view_model.ViewModel.range_values = Attr(field_type=<class ‘str’>, default=None, required=False)
is_metric_operation : tvb.core.neotraits.view_model.ViewModel.is_metric_operation = Attr(field_type=<class ‘bool’>, default=False, required=True)
- spatial_masktvb.simulator.monitors.SpatialAverage.spatial_mask = NArray(label=’Spatial Mask’, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
A vector of length==nodes that assigns an index to each node specifying the “region” to which it belongs. The default usage is for mapping a surface based simulation back to the regions used in its Long-range Connectivity.
- default_masktvb.simulator.monitors.SpatialAverage.default_mask = EnumAttr(field_type=<enum ‘DefaultMasks’>, default=<DefaultMasks.CORTICAL: ‘cortical’>, required=False)
Fallback in case spatial mask is none and no surface providedto use either connectivity hemispheres or cortical attributes.
- periodtvb.simulator.monitors.Monitor.period = Float(field_type=<class ‘float’>, default=0.9765625, required=True)
Sampling period in milliseconds, must be an integral multiple of integration-step size. As a guide: 2048 Hz => 0.48828125 ms ; 1024 Hz => 0.9765625 ms ; 512 Hz => 1.953125 ms.
- variables_of_interesttvb.simulator.monitors.Monitor.variables_of_interest = NArray(label=’Model variables to watch’, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
Indices of model’s variables of interest (VOI) that this monitor should record. Note that the indices should start at zero, so that if a model offers VOIs V, W and V+W, and W is selected, and this monitor should record W, then the correct index is 0.
gid : tvb.basic.neotraits._core.HasTraits.gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
- property linked_has_traits¶
- class tvb.core.entities.file.simulator.view_model.SubSampleViewModel(**kwargs)[source]¶
Bases:
MonitorViewModel
,SubSample
Traited class [tvb.core.entities.file.simulator.view_model.SubSampleViewModel]¶
Attributes declared¶
operation_group_gid : tvb.core.neotraits.view_model.ViewModel.operation_group_gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=False)
ranges : tvb.core.neotraits.view_model.ViewModel.ranges = Attr(field_type=<class ‘str’>, default=None, required=False)
range_values : tvb.core.neotraits.view_model.ViewModel.range_values = Attr(field_type=<class ‘str’>, default=None, required=False)
is_metric_operation : tvb.core.neotraits.view_model.ViewModel.is_metric_operation = Attr(field_type=<class ‘bool’>, default=False, required=True)
- periodtvb.simulator.monitors.Monitor.period = Float(field_type=<class ‘float’>, default=0.9765625, required=True)
Sampling period in milliseconds, must be an integral multiple of integration-step size. As a guide: 2048 Hz => 0.48828125 ms ; 1024 Hz => 0.9765625 ms ; 512 Hz => 1.953125 ms.
- variables_of_interesttvb.simulator.monitors.Monitor.variables_of_interest = NArray(label=’Model variables to watch’, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
Indices of model’s variables of interest (VOI) that this monitor should record. Note that the indices should start at zero, so that if a model offers VOIs V, W and V+W, and W is selected, and this monitor should record W, then the correct index is 0.
gid : tvb.basic.neotraits._core.HasTraits.gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
- property linked_has_traits¶
- class tvb.core.entities.file.simulator.view_model.TemporalAverageViewModel(**kwargs)[source]¶
Bases:
MonitorViewModel
,TemporalAverage
Traited class [tvb.core.entities.file.simulator.view_model.TemporalAverageViewModel]¶
Attributes declared¶
operation_group_gid : tvb.core.neotraits.view_model.ViewModel.operation_group_gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=False)
ranges : tvb.core.neotraits.view_model.ViewModel.ranges = Attr(field_type=<class ‘str’>, default=None, required=False)
range_values : tvb.core.neotraits.view_model.ViewModel.range_values = Attr(field_type=<class ‘str’>, default=None, required=False)
is_metric_operation : tvb.core.neotraits.view_model.ViewModel.is_metric_operation = Attr(field_type=<class ‘bool’>, default=False, required=True)
- periodtvb.simulator.monitors.Monitor.period = Float(field_type=<class ‘float’>, default=0.9765625, required=True)
Sampling period in milliseconds, must be an integral multiple of integration-step size. As a guide: 2048 Hz => 0.48828125 ms ; 1024 Hz => 0.9765625 ms ; 512 Hz => 1.953125 ms.
- variables_of_interesttvb.simulator.monitors.Monitor.variables_of_interest = NArray(label=’Model variables to watch’, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
Indices of model’s variables of interest (VOI) that this monitor should record. Note that the indices should start at zero, so that if a model offers VOIs V, W and V+W, and W is selected, and this monitor should record W, then the correct index is 0.
gid : tvb.basic.neotraits._core.HasTraits.gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
- property linked_has_traits¶
- class tvb.core.entities.file.simulator.view_model.VODEStochasticViewModel[source]¶
Bases:
IntegratorStochasticViewModel
,VODEStochastic
Traited class [tvb.core.entities.file.simulator.view_model.VODEStochasticViewModel]¶
Attributes declared¶
- noisetvb.core.entities.file.simulator.view_model.IntegratorStochasticViewModel.noise = Attr(field_type=<class ‘tvb.core.entities.file.simulator.view_model.NoiseViewModel’>, default=<tvb.core.entities.file.simulator.view_model.AdditiveNoiseViewModel object at 0x7f5d62b31e40>, required=True)
The stochastic integrator’s noise source. It incorporates its own instance of Numpy’s RandomState.
operation_group_gid : tvb.core.neotraits.view_model.ViewModel.operation_group_gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=False)
ranges : tvb.core.neotraits.view_model.ViewModel.ranges = Attr(field_type=<class ‘str’>, default=None, required=False)
range_values : tvb.core.neotraits.view_model.ViewModel.range_values = Attr(field_type=<class ‘str’>, default=None, required=False)
is_metric_operation : tvb.core.neotraits.view_model.ViewModel.is_metric_operation = Attr(field_type=<class ‘bool’>, default=False, required=True)
- dttvb.simulator.integrators.Integrator.dt = Float(field_type=<class ‘float’>, default=0.01220703125, required=True)
The step size used by the integration routine in ms. This should be chosen to be small enough for the integration to be numerically stable. It is also necessary to consider the desired sample period of the Monitors, as they are restricted to being integral multiples of this value. The default value is set such that all built-in models are numerically stable with there default parameters and because it is consitent with Monitors using sample periods corresponding to powers of 2 from 128 to 4096Hz.
bounded_state_variable_indices : tvb.simulator.integrators.Integrator.bounded_state_variable_indices = NArray(label=”indices of the state variables to be bounded by the integrators within the boundaries in the boundaries’ values array”, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
state_variable_boundaries : tvb.simulator.integrators.Integrator.state_variable_boundaries = NArray(label=’The boundary values of the state variables’, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
clamped_state_variable_indices : tvb.simulator.integrators.Integrator.clamped_state_variable_indices = NArray(label=’indices of the state variables to be clamped by the integrators to the values in the clamped_values array’, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
clamped_state_variable_values : tvb.simulator.integrators.Integrator.clamped_state_variable_values = NArray(label=’The values of the state variables which are clamped ‘, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
gid : tvb.basic.neotraits._core.HasTraits.gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
- property linked_has_traits¶
- class tvb.core.entities.file.simulator.view_model.VODEViewModel(**kwargs)[source]¶
Bases:
IntegratorViewModel
,VODE
Traited class [tvb.core.entities.file.simulator.view_model.VODEViewModel]¶
Attributes declared¶
operation_group_gid : tvb.core.neotraits.view_model.ViewModel.operation_group_gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=False)
ranges : tvb.core.neotraits.view_model.ViewModel.ranges = Attr(field_type=<class ‘str’>, default=None, required=False)
range_values : tvb.core.neotraits.view_model.ViewModel.range_values = Attr(field_type=<class ‘str’>, default=None, required=False)
is_metric_operation : tvb.core.neotraits.view_model.ViewModel.is_metric_operation = Attr(field_type=<class ‘bool’>, default=False, required=True)
- dttvb.simulator.integrators.Integrator.dt = Float(field_type=<class ‘float’>, default=0.01220703125, required=True)
The step size used by the integration routine in ms. This should be chosen to be small enough for the integration to be numerically stable. It is also necessary to consider the desired sample period of the Monitors, as they are restricted to being integral multiples of this value. The default value is set such that all built-in models are numerically stable with there default parameters and because it is consitent with Monitors using sample periods corresponding to powers of 2 from 128 to 4096Hz.
bounded_state_variable_indices : tvb.simulator.integrators.Integrator.bounded_state_variable_indices = NArray(label=”indices of the state variables to be bounded by the integrators within the boundaries in the boundaries’ values array”, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
state_variable_boundaries : tvb.simulator.integrators.Integrator.state_variable_boundaries = NArray(label=’The boundary values of the state variables’, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
clamped_state_variable_indices : tvb.simulator.integrators.Integrator.clamped_state_variable_indices = NArray(label=’indices of the state variables to be clamped by the integrators to the values in the clamped_values array’, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
clamped_state_variable_values : tvb.simulator.integrators.Integrator.clamped_state_variable_values = NArray(label=’The values of the state variables which are clamped ‘, dtype=float64, default=None, dim_names=(), ndim=None, required=False)
gid : tvb.basic.neotraits._core.HasTraits.gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
- property linked_has_traits¶
- class tvb.core.entities.file.simulator.view_model.iEEGViewModel(**kwargs)[source]¶
Bases:
ProjectionViewModel
,iEEG
Traited class [tvb.core.entities.file.simulator.view_model.iEEGViewModel]¶
Attributes declared¶
- projectiontvb.core.entities.file.simulator.view_model.iEEGViewModel.projection = DataTypeGidAttr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
Projection matrix to apply to sources.
- sensorstvb.core.entities.file.simulator.view_model.iEEGViewModel.sensors = DataTypeGidAttr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
The set of SEEG sensors for which the forward solution will be calculated.
- region_mappingtvb.core.entities.file.simulator.view_model.ProjectionViewModel.region_mapping = DataTypeGidAttr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
A region mapping specifies how vertices of a surface correspond to given regions in the connectivity. For iEEG/EEG/MEG monitors, this must be specified when performing a region simulation but is optional for a surface simulation.
operation_group_gid : tvb.core.neotraits.view_model.ViewModel.operation_group_gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=False)
ranges : tvb.core.neotraits.view_model.ViewModel.ranges = Attr(field_type=<class ‘str’>, default=None, required=False)
range_values : tvb.core.neotraits.view_model.ViewModel.range_values = Attr(field_type=<class ‘str’>, default=None, required=False)
is_metric_operation : tvb.core.neotraits.view_model.ViewModel.is_metric_operation = Attr(field_type=<class ‘bool’>, default=False, required=True)
sigma : tvb.simulator.monitors.iEEG.sigma = Float(field_type=<class ‘float’>, default=1.0, required=True)
- obsnoisetvb.simulator.monitors.Projection.obsnoise = Attr(field_type=<class ‘tvb.simulator.noise.Noise’>, default=<class ‘tvb.simulator.noise.Additive’>, required=False)
The monitor’s noise source. It incorporates its own instance of Numpy’s RandomState.
- periodtvb.simulator.monitors.Monitor.period = Float(field_type=<class ‘float’>, default=0.9765625, required=True)
Sampling period in milliseconds, must be an integral multiple of integration-step size. As a guide: 2048 Hz => 0.48828125 ms ; 1024 Hz => 0.9765625 ms ; 512 Hz => 1.953125 ms.
- variables_of_interesttvb.simulator.monitors.Monitor.variables_of_interest = NArray(label=’Model variables to watch’, dtype=int64, default=None, dim_names=(), ndim=None, required=False)
Indices of model’s variables of interest (VOI) that this monitor should record. Note that the indices should start at zero, so that if a model offers VOIs V, W and V+W, and W is selected, and this monitor should record W, then the correct index is 0.
gid : tvb.basic.neotraits._core.HasTraits.gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=True)
- property linked_has_traits¶
- projection¶
Keep a GID but also link the type of DataType it should point to
- sensors¶
Keep a GID but also link the type of DataType it should point to