openmnglab.model.functions.interface.ISourceFunction#

class openmnglab.model.functions.interface.ISourceFunction[source]#

Bases: IFunction, ABC

__init__()#

Methods

__init__()

execute()

Execute the function based on the data set by set_input()

set_input()

Sets the input data for this function

abstract execute() IDataContainer | Iterable[IDataContainer] | None#

Execute the function based on the data set by set_input()

Returns:

The data containers produced by executing the function

abstract set_input()[source]#

Sets the input data for this function

Parameters:

data_in – The input data