ewoksid02.caving.get_index_shifted#

ewoksid02.caving.get_index_shifted(data_shape, center_x, center_y)[source]#

Calculates the x,y index vectors, shifted to recreate the centro-symmetric pixels

Inputs:
  • data_shape (tuple): shape of the data array (2 dimensional)

  • center_x (int): beam center in the first data dimension

  • center_y (int): beam center in the second data dimension

Outputs:

Tuple: pair of shifted x,y index vectors

Parameters:
  • data_shape (tuple)

  • center_x (int)

  • center_y (int)