Data structures#

Basic data structures to support repeat module operation

class repeat.data_structures.Parameter#

Class to describe the parameter about which you want to get information from REPEAT VISION model

Parameters:
namestr

Parameter name. The list of REPEAT VISION model names can be got from parameters attribute of parameters the Model class instance

time_intervalTimeInterval

The time interval for which parameter values shall be obtained. The time interval is set up as a result of creating an instance of TimeInterval class

Returns:
None

Examples

>>> from repeat import TimeInterval, Parameter
>>>  
>>> t_interval = TimeInterval(start = 2000, end = 2050)
>>> param = Parameter(name = "1687722637724_OUT_3", time_interval = t_interval)
>>> print(param)
>>> # Parameter(name = '1687722637724_OUT_3',
>>> #           time_interval = TimeInterval(start = 2000, end = 2050))
class repeat.data_structures.TimeInterval#

A class to describe the time interval required to set the parameters to get their values from REPEAT VISION model.

Parameters:
startint

Initial moment of time interval in milliseconds [ms]

endint

End moment of time interval in [ms]

Returns:
None

Notes

Parameters are set using the Parameter class

Examples

>>> from repeat import TimeInterval
>>>   
>>> t_interval = TimeInterval(start = 2000, end = 2050)
>>> print(t_interval)
>>> # TimeInterval(start = 2000, end = 2050)