map_edges[source] [edit on github]

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


smap (GenericMap) – A SunPy map.


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.