predict_source_position_in_camera

lstchain.reco.utils.predict_source_position_in_camera(cog_x, cog_y, disp_dx, disp_dy)

Compute the source position in the camera frame

Parameters:
cog_x: float or `numpy.ndarray` - x coordinate of the center of gravity (hillas.x)
cog_y: float or `numpy.ndarray` - y coordinate of the center of gravity (hillas.y)
disp_dx: float or `numpy.ndarray`
disp_dy: float or `numpy.ndarray`
Returns:
source_pos_x, source_pos_y