imagecat.expression module

Helper functions providing Imagecat-specific functionality for expression tasks.

The following builtin functions can be used in Imagecat expression tasks:

imagecat.expression.graph()
imagecat.expression.out(name)
imagecat.expression.res(name)
imagecat.expression.shape(name)
imagecat.expression.builtins(graph)[source]

Return a dict containing functions that can be used in expressions.

Parameters

graph (graphcat.Graph, required) – Graph that will contain the expression task to be executed.

Returns

builtins – Dict containing functions that can be used in expressions.

Return type

dict