fastscapelib.flow.numba.flow_kernel.NumbaFlowKernelData.bind

NumbaFlowKernelData.bind(**kwargs)

Set or update kernel data.

Parameters:

**kwargs – Argument names must be valid kernel data keys. Argument value types must correspond to the types defined via the kernel spec (either scalar or array). Kernel grid data values must be either scalar (will be expanded into an array) or 1-d array (size matching the number of flow graph nodes) or n-d array (shape matching the grid shape, will be flattened).