make_orthogonal_rectangle_sky_regions#
- gammapy.utils.regions.make_orthogonal_rectangle_sky_regions(start_pos, end_pos, wcs, height, nbin=1)[source]#
Utility returning an array of regions to make orthogonal projections.
- Parameters:
- start_pos
SkyCoord First sky coordinate defining the line to which the orthogonal boxes made.
- end_pos
SkyCoord Second sky coordinate defining the line to which the orthogonal boxes made.
- height
Quantity Height of the rectangle region.
- wcs
WCS WCS projection object.
- nbinint, optional
Number of boxes along the line. Default is 1.
- start_pos
- Returns:
- regionslist of
RectangleSkyRegion Regions in which the profiles are made.
- regionslist of