sample_at_coords#

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

Samples the data in a map at given series of coordinates. Uses nearest-neighbor interpolation of coordinates in map, as it effectively uses array indexing.

An error is raised if any of the coordinates fall outside the map bounds.

Parameters:
Returns:

Quantity – An array of the map data at the input coordinates.

Examples

Extracting intensity of a map along a line

Extracting intensity of a map along a line

Drawing and using a Great Arc

Drawing and using a Great Arc