regions_to_compound_region#
- gammapy.utils.regions.regions_to_compound_region(regions)[source]#
Create compound region from list of regions, by creating the union.
- Parameters:
- regions
Regions
List of regions.
- regions
- Returns:
- compound
CompoundSkyRegion
orCompoundPixelRegion
Compound sky region.
- compound