create_event_list

lstchain.high_level.hdu_table.create_event_list(data, run_number, source_name, source_pos, effective_time, elapsed_time, data_pars)

Create the BinTableHDUs for storing DL3 event data.

Parameters:
data: DL2 data file

‘astropy.table.QTable’

run: Run number

Int

source_name: Name of the source

Str

source_pos: Ra/Dec position of the source

‘astropy.coordinates.SkyCoord’

effective_time: Effective time of triggered events of the run

Float

elapsed_time: Total elapsed time of triggered events of the run

Float

data_pars: Dict of paramters to get the IRF interpolation parameters

Dict

Returns:
Events HDU: astropy.io.fits.BinTableHDU
GTI HDU: astropy.io.fits.BinTableHDU
Pointing HDU: astropy.io.fits.BinTableHDU