einsum_path¶
- xarray_einstats.einsum_path(dims, *operands, keep_dims=frozenset({}), optimize=None, **kwargs)[source]¶
Expose
numpy.einsum_pathwith an xarray-like API.See
xarray_einstats.einsumfor a detailed description ofdimsandoperands.- Parameters:
- dims
list[list[str]] - operands
xarray.DataArray - optimize
str, optional optimizeargument fornumpy.einsum_path. It defaults to None so that we always default to numpy’s default, without needing to keep the call signature here up to date.- **kwargs
Passed to
xarray.apply_ufunc
- dims