read_data_dl2_to_QTable

lstchain.io.io.read_data_dl2_to_QTable(filename, srcdep_pos=None)

Read data DL2 files from lstchain and return QTable format, along with a dict of target parameters for IRF interpolation

Parameters:
filename: path to the lstchain DL2 file
srcdep_pos: assumed source position for source-dependent analysis
Returns:
data: astropy.table.QTable
data_params: ‘Dict’ of target interpolation parameters