arpes.preparation.axis.sort_axis#
- arpes.preparation.axis.sort_axis(data, axis_name)[source]#
Sorts slices of data along axis_name so that they lie in order.
- Parameters:
data (xr.DataArray) – The xarray data to be sorted.
axis_name (str) – The name of the axis along which to sort.
- Returns:
- The sorted xarray data.orts slices of data along axis_name so that they
lie in order.
- Return type:
xr.DataArray