contains_coordinate#

sunpy.map.contains_coordinate(smap, coordinates)[source]#

Checks whether a coordinate falls within the bounds of a map.

Parameters:
Returns:

boolTrue if coordinates falls within the bounds of smap. This includes the edges of the map. If multiple coordinates are input, returns a boolean array.