read_TRAINING_per_tel_type_with_images#

protopipe.pipeline.read_TRAINING_per_tel_type_with_images(input_directory=None, input_filename=None, camera_names=None)[source]#

Read a TRAINING file and extract the data per telescope type.

Parameters
input_directorystr or pathlib.Path

Path of the input directory where the TRAINING file is located.

file_namestr

Name of the input TRAINING file.

camera_names: list

List of camera names corresponding to the table names in the file.

Returns
tabledict(astropy.Table)

Dictionary of astropy tables per camera.