Note

You are not reading the most up to date version of Gammapy documentation.
Access the latest stable version v1.3 or the list of Gammapy releases.

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