load_train_data_files_tel#
- magicctapipe.io.load_train_data_files_tel(input_dir, config, offaxis_min=None, offaxis_max=None, true_event_class=None)[source]#
Loads DL1-stereo data files and separates the shower events per telescope combination type for training RFs.
- Parameters:
- input_dir
str Path to a directory where input DL1-stereo files are stored
- config
dict Yaml file with information about the telescope IDs.
- offaxis_min
str, optional Minimum shower off-axis angle allowed, whose format should be acceptable by astropy.units.quantity.Quantity
- offaxis_max
str, optional Maximum shower off-axis angle allowed, whose format should be acceptable by astropy.units.quantity.Quantity
- true_event_class
int, optional True event class of the input events
- input_dir
- Returns:
dictData frames of the shower events separated telescope-wise
- Raises:
FileNotFoundErrorIf any DL1-stereo data files are not found in the input directory