Skip to content

main

add_to_control

add_to_control(ctrl: Control, propagator_check_only: bool = False, environment=None, _environment_ids=dict())

Adds encoding logic to the provided Control instance. The environment argumennt specifies the locals used in the python statements and expressions.

set_globals

set_globals(environment=None)

The environment argumennt specifies the globals used in the python statements and expressions. By default, the globals import the math module. Calling set_globals with no arguments clears the globals.