rta_reconstruction.image_displacement.disp_to_pos

rta_reconstruction.image_displacement.disp_to_pos(disp_dx, disp_dy, cog_x, cog_y)[source]

Calculates source position in camera coordinates(x,y) from the reconstructed disp.

Parameters:
  • disp (DispContainer)

  • cog_x (float) – Coordinate x of the center of gravity of Hillas ellipse

  • cog_y (float) – Coordinate y of the center of gravity of Hillas ellipse

Return type:

(source_pos_x, source_pos_y)