ControlSource

class ControlSource(**properties: Any)

Superclasses: Object, InitiallyUnowned, Object

Constructors:

ControlSource(**properties)

Methods

class ControlSource
control_source_get_value(timestamp: int) tuple[bool, float]

Gets the value for this ControlSource at a given timestamp.

Parameters:

timestamp – the time for which the value should be returned

control_source_get_value_array(timestamp: int, interval: int, values: Sequence[float]) bool

Gets an array of values for for this ControlSource. Values that are undefined contain NANs.

Parameters:
  • timestamp – the first timestamp

  • interval – the time steps

  • values – array to put control-values in

Fields

class ControlSource
get_value

Function for returning a value for a given timestamp

get_value_array

Function for returning a values array for a given timestamp

parent

The parent structure