fill_reco_altaz_w_expected_pos
- lstchain.high_level.hdu_table.fill_reco_altaz_w_expected_pos(data)
Fill the reconstructed alt, az positions with the expected source positions, for source-dependent analysis.
Note: This is just a trick to easily extract ON/OFF events in gammapy analysis. For source-dependent analysis, gammaness and alpha cut are already applied when creating DL3 file and there is no need to apply additional cuts in higher analysis (e.g. on/background region cut in gammapy). This function fills the same reconstructed position (AltAz, ICRS frame, derived from the first event) for all events. It is recommended to use WobbleRegionsFinder in gammapy to define the source and background region.