contains_coordinate#
- sunpy.map.contains_coordinate(smap, coordinates)[source]#
Checks whether a coordinate falls within the bounds of a map.
- Parameters:
smap (
GenericMap) – The input map.coordinates (
SkyCoord) – The input coordinate.
- Returns:
bool –
Trueifcoordinatesfalls within the bounds ofsmap. This includes the edges of the map. If multiple coordinates are input, returns a boolean array.