prod3b_array

protopipe.pipeline.prod3b_array(fileName, site, array)[source]

Return tel IDs and involved cameras from configuration and simtel file.

The initial check (and the too-high cyclomatic complexity) will disappear with the advent of the final array layouts. Currently not very performant: it is necessary get at least the first event of the simtel file to read the simulated array information.

Parameters
first_fileNamestr

Name of the first file of the list of files given by the user.

arraystr or list

Name of the subarray or - if not supported - a custom list of telescope IDs that the user wants to use

sitestr

Can be only “north” or “south”. Currently relevant only for baseline simulations. For non-baseline simulations only custom lists of IDs matter.

Returns
tel_idslist

List of telescope IDs to use in a format readable by ctapipe.

cameraslist

List of camera types inferred from tel_ids. This will feed both the estimators and the image cleaning.