disp_to_pos

lstchain.reco.disp.disp_to_pos(disp_dx, disp_dy, cog_x, cog_y)

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

Returns:
(source_pos_x, source_pos_y)