magic-cta-pipe is under active development. Expect large and rapid changes in functionality.

telescope_combinations#

magicctapipe.io.telescope_combinations(config)[source]#

Generates all possible telescope combinations without repetition. E.g.: “LST1_M1”, “LST2_LST4_M2”, “LST1_LST2_LST3_M1” and so on.

Parameters:
configdict

Yaml file with information about the telescope IDs.

Returns:
TEL_NAMESdict

Dictionary with telescope IDs and names.

TEL_COMBINATIONSdict

Dictionary with all telescope combinations with no repetions.