pcdsdevices.targets.convert_to_physical

pcdsdevices.targets.convert_to_physical(a_coeffs, b_coeffs, logic_x, logic_y)

Convert to physical coordinates from logical coordinates.

Parameters:
  • a_coeffs (array) – Perspective transformation coefficients for alpha.

  • b_coeffs (array) – Perspective transformation coefficients for beta.

  • logic_x (float) – Logical point in the x direction.

  • logic_y (float) – Logical point in the y direction.

Returns:

x, y (tuple) – The x and y physical values on the specified grid.