map_edges#

sunpy.map.map_edges(smap)[source]#

Returns the pixel locations of the edges of an input map.

Parameters:

smap (GenericMap) – A SunPy map.

Returns:

top, bottom, left_hand_side, right_hand_side (Quantity) – Returns the pixel locations at the edge of the map; the zeroth, first, second and third tuple values return the top, bottom, left hand side and right hand side pixel locations respectively of the input map.