xarray_einstats.raw_einsum#

xarray_einstats.raw_einsum(subscripts, *operands, keep_dims=frozenset({}), out_append='{i}', einsum_kwargs=None, **kwargs)[source]#

Wrap numpy.einsum crudely.

Usage examples of all arguments is available at the einsum section of the linear algebra module tutorial.

The description of all the arguments except subscripts is available at xarray_einstats.einsum.

Parameters:
subscriptsstr

Specify the subscripts for the summation as dimension names. Spaces indicate multiple dimensions in a DataArray and commas indicate multiple DataArray operands. Only dimensions with no spaces, nor commas nor -> characters are valid.

operandsxarray.DataArray
keep_dimsset, optional
out_appendstr, optional
einsum_kwargsdict, optional
kwargsoptional