cubed.apply_gufunc(func, signature, *args, axes=None, axis=None, output_dtypes=None, output_sizes=None, vectorize=None, **kwargs)#

Apply a generalized ufunc or similar python function to arrays.

This is a cutdown version of the equivalent function in Dask. Refer there for usage information.

Current limitations: keepdims, and allow_rechunk are not supported; and multiple outputs are not supported.

Cubed assumes that func will allocate a new output array. However, if it allocates more memory than than, then you need to tell Cubed about it by setting the extra_projected_mem parameter to the amount needed in bytes (per task).