is_all_off_disk#

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

Checks if none of the coordinates in the GenericMap are on the solar disk.

This is done by checking if the edges of the map do not contain the solar limb, and checking that the solar center is not in the map.

Parameters:

smap (GenericMap) – A map in helioprojective Cartesian coordinates.

Returns:

bool – Returns True if all map pixels have an angular radius greater than the angular radius of the Sun.

Notes

For coronagraph images such as those from LASCO C2 and C3 the full disk is within the field of view of the instrument, but the solar disk itself is not imaged. For such images this function will return False.