compound_region_to_regions#

gammapy.utils.regions.compound_region_to_regions(region)[source]#

Create list of regions from compound regions.

Parameters:
regionCompoundSkyRegion or SkyRegion

Compound sky region.

Returns:
regionsRegions

List of regions.