pol2cart#
- movement.utils.vector.pol2cart(data)[source]#
Transform polar coordinates to Cartesian.
- Parameters:
data (xarray.DataArray) – The input data containing
space_pol
as a dimension, withrho
andphi
in the dimension coordinate.- Returns:
An xarray DataArray containing the Cartesian coordinates stored in the
space
dimension, withx
andy
in the dimension coordinate.- Return type: