[`xarrayuvecs`](https://gricad-gitlab.univ-grenoble-alpes.fr/mecaiceige/tools/lib_python/xarray_uvecs) propose a accessor for `xarray.DataArray` to work on "**U**nit **VEC**ctor that are **S**ymmetrical" (**UVECS**).
In this case symetrical mean that a vector **x** has the same meaning than **-x**. Therefore is can be usefull to describe non directional orientation such as crystallographic orientation dor instance.
In this case symetrical mean that a vector **x** has the same meaning than **-x**. Therefore is can be usefull to describe non directional orientation such as crystallographic orientation for instance.
In this notebook we will show what can be done using `xarrayuvec` accessor.
%% Cell type:code id:proprietary-mexico tags:
%% Cell type:code id: tags:
``` python
import xarrayaita.loadData_aita as lda #here are some function to build xarrayaita structure
`xarrayuvecs` accessor should be used on `xarray.DataArray` **da** that have a dimension of $m\times n \times 2$. The **da[:,:,0]** correspond to the azimuth $\Phi$ coordinate of the unit vector and **da[:,:,1]** to the colatitude $\theta$.
%% Cell type:markdown id:ignored-township tags:
%% Cell type:markdown id: tags:
