arpes.correction.coords.shift_by#

arpes.correction.coords.shift_by(data, coord_name, shift_value)[source]#

Shifts the coordinates by the specified values.

Parameters:
  • data (xr.DataArray) – The DataArray to shift.

  • coord_name (str) – The coordinate name to shift.

  • shift_value (float) – The amount of the shift.

Returns:

The DataArray with shifted coordinates.

Return type:

xr.DataArray