openalea.core.system package#

Submodules#

openalea.core.system.systemnodes module#

System Nodes

class openalea.core.system.systemnodes.AccuFloat(inputs, outputs)[source]#

Bases: Node

Float Accumulator

Add to a Float (in datapool) the receive value

Parameters:

inputs – a list containing the value to append and the name of the datapool variable

class openalea.core.system.systemnodes.AccuList(inputs, outputs)[source]#

Bases: Node

List Accumulator

Add to a list (in datapool) the receive value

Parameters:

inputs – a list containing the value to append and the name of the datapool variable

class openalea.core.system.systemnodes.AnnotationNode[source]#

Bases: Annotation

A DummyNode is a fake node.

eval()[source]#
get_nb_input()[source]#

Return the nb of input ports

get_nb_output()[source]#

Return the nb of output ports

class openalea.core.system.systemnodes.Counter(*args)[source]#

Bases: Node

Loop a number of cycle, then stop

eval()[source]#

Stop the simulation after a given number of steps

reset()[source]#

Reset ports

class openalea.core.system.systemnodes.Delay(*args)[source]#

Bases: Node

Return the previous value or an initial value

reset()[source]#

Reset to the intial state

class openalea.core.system.systemnodes.For(inputs=(), outputs=())[source]#

Bases: Node

While Loop Univariate In 0 : Initial value In 1 : Sequence In 2 : Process Function

Out 0 : Result value

class openalea.core.system.systemnodes.InitNode(inputs, outputs)[source]#

Bases: Node

In0 : Init value In1 : Current Value In2 : State (Bool)

If state is true, return In0, else return In1 state is set to false in the first execution.

reset()[source]#

Reset ports

class openalea.core.system.systemnodes.IterNode(*args)[source]#

Bases: Node

Iteration Node

eval()[source]#

Return True if the node need a reevaluation

reset()[source]#

Reset to the intial state

class openalea.core.system.systemnodes.IterWithDelayNode(*args)[source]#

Bases: IterNode

Iteration Node

eval()[source]#

Return True if the node need a reevaluation

class openalea.core.system.systemnodes.LambdaVar(*args)[source]#

Bases: Node

Return a lambda variable

class openalea.core.system.systemnodes.PoolDefault(inputs, outputs)[source]#

Bases: Node

In : Name (key), Default Value Out : Object (value)

reset()[source]#

Reset ports

class openalea.core.system.systemnodes.PoolReader(inputs, outputs)[source]#

Bases: Node

In : Name (key) Out : Object (value)

class openalea.core.system.systemnodes.PoolWriter(inputs, outputs)[source]#

Bases: Node

In : Name (String), Object (Any)

class openalea.core.system.systemnodes.RDVNode(inputs=(), outputs=())[source]#

Bases: Node

Rendez Vous node (synchronisation) In1 : Value In2 : Unused (control flow) Out : Value, result of the control flow evaluation

class openalea.core.system.systemnodes.StopSimulation(*args)[source]#

Bases: Node

Iteration Node

eval()[source]#

Stop the simulation after a given number of steps

reset()[source]#

Reset ports

class openalea.core.system.systemnodes.WhileMultiVar(inputs=(), outputs=())[source]#

Bases: Node

While Loop Multivariate In 0 : List of initial value In 1 : Test function In 2 : List of Process Function

Out 0 : Result variables

class openalea.core.system.systemnodes.WhileUniVar(inputs=(), outputs=())[source]#

Bases: Node

While Loop Univariate In 0 : Initial value In 1 : Test function In 2 : Process Function

Out 0 : Result value

openalea.core.system.systemnodes.get_data(pattern='*.*', pkg_name=None, as_paths=False)[source]#

Return all data that match the pattern

openalea.core.system.systemnodes.shell_command(cmd, directory)[source]#

Execute a command in a shell cmd : the command as a string dir : the directory where the cmd is executed Output : status

openalea.core.system.systemnodes.system_cmd(str_list)[source]#

Execute a system command Input : a list of string Output : subprocess stdout, stderr

openalea.core.system.systemnodes.while_multi2(values, test, function)[source]#

Module contents#