coordinate_is_on_solar_disk

sunpy.map.coordinate_is_on_solar_disk(coordinates)[source] [edit on github]

Checks if the helioprojective Cartesian coordinates are on the solar disk.

The check is performed by comparing the coordinate’s angular distance to the angular size of the solar radius. The solar disk is assumed to be a circle i.e., solar oblateness and other effects that cause the solar disk to be non-circular are not taken in to account.

Parameters

coordinates (SkyCoord, Helioprojective) – The input coordinate. The coordinate frame must be Helioprojective.

Returns

bool – Returns True if the coordinate is on disk, False otherwise.