get_stereo_events#
- magicctapipe.io.get_stereo_events(event_data, config, quality_cuts=None, group_index=['obs_id', 'event_id'], eval_multi_combo=True)[source]#
Gets the stereo events surviving specified quality cuts.
It also adds the telescope multiplicity multiplicity and combination types combo_type to the output data frame.
- Parameters:
- event_data
pandas.DataFrame Data frame of shower events
- config
dict Read from the yaml file with information about the telescope IDs.
- quality_cuts
str Quality cuts applied to the input data
- group_index
list Index to group telescope events
- eval_multi_combobool
If True, multiplicity is recalculated, combination type is assigned to each event and the fraction of events per combination type is shown
- event_data
- Returns:
pandas.DataFrameData frame of the stereo events surviving the quality cuts