compute_true_disp#

ctapipe.reco.disp.compute_true_disp(table: Table, project_disp: bool = True) Annotated[Quantity, 'angle'][source]#

Compute true disp parameter from a table of DL1 events.

Parameters:
table:

DL1 telescope events table as created by ctapipe.io.TableLoader.read_telescope_events.

project_disp:

If true, the true source position of the gamma-ray is projected onto the reconstructed shower axis for computing the disp norm. Otherwise, the euclidean distance from the center of gravity to the true source position is used.

Returns:
disp:

Disp as a signed quantity