Skip to content

Scripts to create the coincident event list and to calculate the stereo parameters

Yoshiki Ohtani requested to merge dev-yoshiki into dev-coding-sprint-dec2020

I made two scripts "magic_lst_event_coincidence.py" and "magic_lst_stereo_calc.py" The former one searches the event coincidence between MAGIC and LST-w with the timestamp information, and creates the coincident event list with HDF format. The input files also should be the HDF format for both MAGIC and LST-1, so root files should be converted to the HDF format before running this script. The latter one calculates the stereo parameters of the coincident events, if the angular separation of the pointing direction of the telescopes is less than 2 arcmin. Actually I checked the angular separation of LST-1 and MAGIC pointing directions, and it seems it should be less than 1 arcmin, so conservatively I set the maximum angular separation as 2 arcmin. Then the calculated stereo parameters are written to the input files, and stored to the HDF format.

Since it is preliminary script and may not be written for the general use, it would be great if you could check (or use) it and give me some feedbacks.

Thank you in advance, Yoshiki

Merge request reports