exorad.tasks.propagateLight module

class PropagateForegroundLight[source]

Bases: Task

Given the target and a channel dict, it propagates the target foreground light over the channels

Parameters:
  • channels (dict) – main payload. Default is None

  • target (Target) –

Returns:

return the output table of propagated signal

Return type:

QTable

Examples

Class initialisation, needed to prepare the task inputs reader

execute()[source]

Class execution. It runs on call and executes all the task actions returning the outputs. It requires the input with correct keywords

class PropagateTargetLight[source]

Bases: Task

Given the target and a channel dict, it propagates the target light over the channels

Parameters:
  • channels (dict) – main payload. Default is None

  • target (Target) –

Returns:

return the output table of propagated signal

Return type:

QTable

Examples

Class initialisation, needed to prepare the task inputs reader

execute()[source]

Class execution. It runs on call and executes all the task actions returning the outputs. It requires the input with correct keywords