Wrappers for einops.

The einops module is available only from xarray_einstats.einops and is not imported when doing import xarray_einstats. To use it you need to have installed einops manually or alternatively install this library as xarray-einstats[einops] or xarray-einstats[all]. Details about the exact command are available at Installation

rearrange(da, out_dims[, in_dims])

Wrap einops.rearrange.

raw_rearrange(da, pattern, **kwargs)

Crudely wrap einops.rearrange.

reduce(da, reduction, out_dims[, in_dims])

Wrap einops.reduce.

raw_reduce(da, pattern, reduction, **kwargs)

Crudely wrap einops.reduce.


Dask backend class for einops.