list_to_compound_region

gammapy.utils.regions.list_to_compound_region(regions)[source]

Create compound region from list of regions, by creating the union.

Parameters
regionslist of SkyRegion

List of regions.

Returns
compoundCompoundSkyRegion

Compound sky region