System Nodes

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

Bases: openalea.core.node.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 core.system.systemnodes.AccuList(inputs, outputs)[source]

Bases: openalea.core.node.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 core.system.systemnodes.AnnotationNode[source]

Bases: openalea.core.node.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 core.system.systemnodes.Counter(*args)[source]

Bases: openalea.core.node.Node

Loop a number of cycle, then stop

eval()[source]

Stop the simulation after a given number of steps

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

Bases: openalea.core.node.Node

Return the previous value or an initial value

reset()[source]

Reset to the intial state

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

Bases: openalea.core.node.Node

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

Out 0 : Result value

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

Bases: openalea.core.node.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]
class core.system.systemnodes.IterNode(*args)[source]

Bases: openalea.core.node.Node

Iteration Node

eval()[source]

Return True if the node need a reevaluation

reset()[source]

Reset to the intial state

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

Bases: core.system.systemnodes.IterNode

Iteration Node

eval()[source]

Return True if the node need a reevaluation

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

Bases: openalea.core.node.Node

Return a lambda variable

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

Bases: openalea.core.node.Node

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

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

Bases: openalea.core.node.Node

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

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

Bases: openalea.core.node.Node

In : Name (String), Object (Any)

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

Bases: openalea.core.node.Node

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

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

Bases: openalea.core.node.Node

Iteration Node

eval()[source]

Stop the simulation after a given number of steps

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

Bases: openalea.core.node.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 core.system.systemnodes.WhileUniVar(inputs=(), outputs=())[source]

Bases: openalea.core.node.Node

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

Out 0 : Result value

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

Return all data that match the pattern

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

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

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

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

Previous topic

core.system package

Next topic

core.world package

This Page